@html-validate/eslint-config 5.22.0 → 5.22.2
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/dist/cli.js +3 -3
- package/dist/cli.js.map +1 -1
- package/index.js +2 -0
- package/package.json +3 -3
package/index.js
CHANGED
@@ -62,8 +62,10 @@ module.exports = {
|
|
62
62
|
"security/detect-object-injection": "off", // produces more noise than useful errors
|
63
63
|
"security/detect-unsafe-regex": "error",
|
64
64
|
|
65
|
+
"sonarjs/deprecation": "off", // already covered by @typescript-eslint/no-deprecated
|
65
66
|
"sonarjs/no-small-switch": "off", // prefer to use small switches when the intention is to all more cases later
|
66
67
|
"sonarjs/prefer-single-boolean-return": "off", // prefer to use multiple returns even for booleans (looks better and can yield performance increase
|
68
|
+
"sonarjs/prefer-nullish-coalescing": "off", // requires typescript and strictNullChecks, which is sane, but we also use @typescript-eslint/prefer-nullish-coalescing so this becomes redundant
|
67
69
|
|
68
70
|
"consistent-this": "off",
|
69
71
|
"no-console": "warn",
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@html-validate/eslint-config",
|
3
|
-
"version": "5.22.
|
3
|
+
"version": "5.22.2",
|
4
4
|
"description": "Eslint sharable config used by the various HTML-validate packages",
|
5
5
|
"keywords": [
|
6
6
|
"eslint"
|
@@ -49,7 +49,7 @@
|
|
49
49
|
"eslint-plugin-n": "17.10.2",
|
50
50
|
"eslint-plugin-prettier": "5.2.1",
|
51
51
|
"eslint-plugin-security": "3.0.1",
|
52
|
-
"eslint-plugin-sonarjs": "2.0.
|
52
|
+
"eslint-plugin-sonarjs": "2.0.2"
|
53
53
|
},
|
54
54
|
"peerDependencies": {
|
55
55
|
"prettier": "^3"
|
@@ -61,5 +61,5 @@
|
|
61
61
|
"publishConfig": {
|
62
62
|
"access": "public"
|
63
63
|
},
|
64
|
-
"gitHead": "
|
64
|
+
"gitHead": "1dde5f4b34a34bd5d814a99d55521763ab3a1a4b"
|
65
65
|
}
|