@html-validate/eslint-config 5.3.4 → 5.3.8
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 +4 -4
- package/index.js +1 -0
- package/package.json +5 -5
package/dist/cli.js
CHANGED
@@ -8908,7 +8908,7 @@ var require_package = __commonJS({
|
|
8908
8908
|
"package.json"(exports, module2) {
|
8909
8909
|
module2.exports = {
|
8910
8910
|
name: "@html-validate/eslint-config",
|
8911
|
-
version: "5.3.
|
8911
|
+
version: "5.3.7",
|
8912
8912
|
description: "Eslint sharable config used by the various HTML-validate packages",
|
8913
8913
|
keywords: [
|
8914
8914
|
"eslint"
|
@@ -8942,8 +8942,8 @@ var require_package = __commonJS({
|
|
8942
8942
|
},
|
8943
8943
|
dependencies: {
|
8944
8944
|
"@rushstack/eslint-patch": "1.1.0",
|
8945
|
-
eslint: "8.
|
8946
|
-
"eslint-config-prettier": "8.
|
8945
|
+
eslint: "8.10.0",
|
8946
|
+
"eslint-config-prettier": "8.4.0",
|
8947
8947
|
"eslint-config-sidvind": "1.3.2",
|
8948
8948
|
"eslint-formatter-gitlab": "3.0.0",
|
8949
8949
|
"eslint-plugin-array-func": "3.1.7",
|
@@ -8951,7 +8951,7 @@ var require_package = __commonJS({
|
|
8951
8951
|
"eslint-plugin-node": "11.1.0",
|
8952
8952
|
"eslint-plugin-prettier": "4.0.0",
|
8953
8953
|
"eslint-plugin-security": "1.4.0",
|
8954
|
-
"eslint-plugin-sonarjs": "0.
|
8954
|
+
"eslint-plugin-sonarjs": "0.12.0"
|
8955
8955
|
},
|
8956
8956
|
devDependencies: {
|
8957
8957
|
argparse: "2.0.1",
|
package/index.js
CHANGED
@@ -47,6 +47,7 @@ module.exports = {
|
|
47
47
|
"security/detect-unsafe-regex": "error",
|
48
48
|
|
49
49
|
"sonarjs/no-small-switch": "off", // prefer to use small switches when the intention is to all more cases later
|
50
|
+
"sonarjs/prefer-single-boolean-return": "off", // prefer to use multiple returns even for booleans (looks better and can yield performance increase
|
50
51
|
|
51
52
|
"consistent-this": "off",
|
52
53
|
"no-console": "warn",
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@html-validate/eslint-config",
|
3
|
-
"version": "5.3.
|
3
|
+
"version": "5.3.8",
|
4
4
|
"description": "Eslint sharable config used by the various HTML-validate packages",
|
5
5
|
"keywords": [
|
6
6
|
"eslint"
|
@@ -34,8 +34,8 @@
|
|
34
34
|
},
|
35
35
|
"dependencies": {
|
36
36
|
"@rushstack/eslint-patch": "1.1.0",
|
37
|
-
"eslint": "8.
|
38
|
-
"eslint-config-prettier": "8.
|
37
|
+
"eslint": "8.10.0",
|
38
|
+
"eslint-config-prettier": "8.4.0",
|
39
39
|
"eslint-config-sidvind": "1.3.2",
|
40
40
|
"eslint-formatter-gitlab": "3.0.0",
|
41
41
|
"eslint-plugin-array-func": "3.1.7",
|
@@ -43,7 +43,7 @@
|
|
43
43
|
"eslint-plugin-node": "11.1.0",
|
44
44
|
"eslint-plugin-prettier": "4.0.0",
|
45
45
|
"eslint-plugin-security": "1.4.0",
|
46
|
-
"eslint-plugin-sonarjs": "0.
|
46
|
+
"eslint-plugin-sonarjs": "0.12.0"
|
47
47
|
},
|
48
48
|
"devDependencies": {
|
49
49
|
"argparse": "2.0.1",
|
@@ -60,5 +60,5 @@
|
|
60
60
|
"publishConfig": {
|
61
61
|
"access": "public"
|
62
62
|
},
|
63
|
-
"gitHead": "
|
63
|
+
"gitHead": "a8fa51bff3792a529da3bec101c0121fcb6ae0c9"
|
64
64
|
}
|