@html-validate/eslint-config 6.17.6 → 6.18.3
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.mjs +4 -4
- package/dist/cli.mjs.map +1 -1
- package/index.mjs +4 -0
- package/package.json +4 -4
package/index.mjs
CHANGED
|
@@ -103,6 +103,7 @@ export default [
|
|
|
103
103
|
"unicorn/consistent-empty-array-spread": "off",
|
|
104
104
|
"unicorn/consistent-existence-index-check": "error",
|
|
105
105
|
"unicorn/consistent-function-scoping": "error",
|
|
106
|
+
"unicorn/consistent-template-literal-escape": "error",
|
|
106
107
|
"unicorn/custom-error-definition": "error",
|
|
107
108
|
"unicorn/error-message": "error",
|
|
108
109
|
"unicorn/escape-case": "off", // typically not useful for this organisation
|
|
@@ -156,6 +157,7 @@ export default [
|
|
|
156
157
|
"unicorn/no-useless-collection-argument": "error",
|
|
157
158
|
"unicorn/no-useless-error-capture-stack-trace": "error",
|
|
158
159
|
"unicorn/no-useless-fallback-in-spread": "error",
|
|
160
|
+
"unicorn/no-useless-iterator-to-array": "error",
|
|
159
161
|
"unicorn/no-useless-length-check": "error",
|
|
160
162
|
"unicorn/no-useless-promise-resolve-reject": "error",
|
|
161
163
|
"unicorn/no-useless-spread": "error",
|
|
@@ -206,6 +208,7 @@ export default [
|
|
|
206
208
|
"unicorn/prefer-response-static-json": "off",
|
|
207
209
|
"unicorn/prefer-set-has": "error",
|
|
208
210
|
"unicorn/prefer-set-size": "error",
|
|
211
|
+
"unicorn/prefer-simple-condition-first": "error",
|
|
209
212
|
"unicorn/prefer-single-call": "off",
|
|
210
213
|
"unicorn/prefer-spread": "off", // for now
|
|
211
214
|
"unicorn/prefer-string-raw": "off", // for now
|
|
@@ -225,6 +228,7 @@ export default [
|
|
|
225
228
|
"unicorn/require-module-specifiers": "off",
|
|
226
229
|
"unicorn/require-number-to-fixed-digits-argument": "error",
|
|
227
230
|
"unicorn/switch-case-braces": "off",
|
|
231
|
+
"unicorn/switch-case-break-position": "error",
|
|
228
232
|
"unicorn/text-encoding-identifier-case": "off",
|
|
229
233
|
"unicorn/throw-new-error": "error",
|
|
230
234
|
...filterRules(eslintConfigPrettier.rules, (rule) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@html-validate/eslint-config",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.18.3",
|
|
4
4
|
"description": "Eslint sharable config used by the various HTML-validate packages",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint"
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"eslint": "9.39.4",
|
|
43
43
|
"eslint-config-prettier": "10.1.8",
|
|
44
44
|
"eslint-formatter-gitlab": "7.0.1",
|
|
45
|
-
"eslint-import-resolver-node": "0.3.
|
|
45
|
+
"eslint-import-resolver-node": "0.3.10",
|
|
46
46
|
"eslint-import-resolver-typescript": "4.4.4",
|
|
47
47
|
"eslint-plugin-array-func": "5.1.1",
|
|
48
48
|
"eslint-plugin-import": "2.32.0",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"eslint-plugin-prettier": "5.5.5",
|
|
51
51
|
"eslint-plugin-security": "4.0.0",
|
|
52
52
|
"eslint-plugin-sonarjs": "4.0.2",
|
|
53
|
-
"eslint-plugin-unicorn": "
|
|
53
|
+
"eslint-plugin-unicorn": "64.0.0",
|
|
54
54
|
"find-up": "8.0.0",
|
|
55
55
|
"globals": "17.3.0",
|
|
56
56
|
"nunjucks": "3.2.4"
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"publishConfig": {
|
|
66
66
|
"access": "public"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "c888cbcf68879766fbeaa032bc392898e23161d5"
|
|
69
69
|
}
|