浏览代码

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 年之前
父节点
当前提交
3e7a6d7003
共有 1 个文件被更改,包括 9 次插入1 次删除
  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
+      }
+    ]
   }
 }