@tim-code/eslint-config 0.7.5 → 0.8.0
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 +1 -0
- package/package.json +1 -1
package/.eslintrc.js
CHANGED
|
@@ -70,6 +70,7 @@ module.exports = {
|
|
|
70
70
|
|
|
71
71
|
// unsure
|
|
72
72
|
"no-labels": "off", // useful to be able to break/continue an outer loop; otherwise have to write more code
|
|
73
|
+
"no-nested-ternary": "off", // ideally would allow just two levels of nesting; saves quite a bit of code
|
|
73
74
|
|
|
74
75
|
// rule is too idealistic
|
|
75
76
|
camelcase: "off", // useful to allow non-camel case for compatibility like destructuring JSON
|