@jsenv/eslint-config-relax 1.1.2 → 1.2.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/package.json +2 -2
- package/src/rules_relax.js +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsenv/eslint-config-relax",
|
|
3
|
-
"version": "1.1
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "A pleaseant ESLint configuration for any project",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"globals": "15.9.0",
|
|
35
35
|
"@jsenv/eslint-import-resolver": "8.2.0",
|
|
36
36
|
"@jsenv/urls": "2.5.2",
|
|
37
|
-
"eslint-plugin-import-x": "
|
|
37
|
+
"eslint-plugin-import-x": "4.1.1",
|
|
38
38
|
"eslint-plugin-html": "8.1.1",
|
|
39
39
|
"eslint-plugin-react": "7.35.0",
|
|
40
40
|
"eslint-plugin-regexp": "2.6.0"
|
package/src/rules_relax.js
CHANGED
|
@@ -162,7 +162,8 @@ export const rulesRelax = {
|
|
|
162
162
|
"no-multi-str": ["error"],
|
|
163
163
|
"no-multiple-empty-lines": ["off", { max: 1 }],
|
|
164
164
|
"no-native-reassign": ["error"],
|
|
165
|
-
|
|
165
|
+
// theorically great but too often a pain, does not fix the relax mindset
|
|
166
|
+
"no-negated-condition": ["off"],
|
|
166
167
|
// disabled because deprecated in favor of no-unsafe-negation
|
|
167
168
|
// https://eslint.org/docs/rules/no-negated-in-lhs
|
|
168
169
|
"no-negated-in-lhs": ["off"],
|