Browse Source

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 năm trước cách đây
mục cha
commit
3e7a6d7003
1 tập tin đã thay đổi với 9 bổ sung1 xóa
  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
+      }
+    ]
   }
 }