@tim-code/eslint-config 0.7.5 → 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.
Files changed (2) hide show
  1. package/.eslintrc.js +3 -0
  2. package/package.json +1 -1
package/.eslintrc.js CHANGED
@@ -67,9 +67,12 @@ 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
75
+ "no-nested-ternary": "off", // ideally would allow just two levels of nesting; saves quite a bit of code
73
76
 
74
77
  // rule is too idealistic
75
78
  camelcase: "off", // useful to allow non-camel case for compatibility like destructuring JSON
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tim-code/eslint-config",
3
- "version": "0.7.5",
3
+ "version": "0.8.1",
4
4
  "description": "",
5
5
  "main": ".eslintrc.js",
6
6
  "author": "",