Sfoglia il codice sorgente

Increase eslint code max line length to 150

Previous default was 100. Since the setting also overrides some other
previous default values, the previous default values are also included
so that nothing else should change.
Sergiu Miclea 5 anni fa
parent
commit
3e7a6d7003
1 ha cambiato i file con 9 aggiunte e 1 eliminazioni
  1. 9 1
      .eslintrc

+ 9 - 1
.eslintrc

@@ -57,6 +57,14 @@
     "max-classes-per-file": "off",
     "prefer-promise-reject-errors": "off",
     "import/prefer-default-export": "off",
-    "no-param-reassign": "off"
+    "no-param-reassign": "off",
+    "max-len": [
+      "error",
+      {
+        "code": 150,
+        "ignoreTemplateLiterals": true,
+        "ignoreStrings": true
+      }
+    ]
   }
 }