@tim-code/eslint-config 0.8.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +2 -0
- package/package.json +1 -1
package/.eslintrc.js
CHANGED
|
@@ -67,6 +67,8 @@ module.exports = {
|
|
|
67
67
|
yoda: ["error", "never", { exceptRange: true }],
|
|
68
68
|
// unclear why assignment expressions cannot be used
|
|
69
69
|
"prefer-destructuring": ["error", { AssignmentExpression: { array: false } }],
|
|
70
|
+
// 300 lines is too low
|
|
71
|
+
"max-lines": ["error", { max: 500 }],
|
|
70
72
|
|
|
71
73
|
// unsure
|
|
72
74
|
"no-labels": "off", // useful to be able to break/continue an outer loop; otherwise have to write more code
|