@html-validate/eslint-config 9.4.4 → 9.4.6
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 +1 -1
- package/dist/cli.mjs.map +1 -1
- package/index.mjs +3 -1
- package/package.json +2 -2
package/index.mjs
CHANGED
|
@@ -105,6 +105,7 @@ export default [
|
|
|
105
105
|
allowList: {
|
|
106
106
|
/* widely used in the html-validate projects */
|
|
107
107
|
MetaData: true,
|
|
108
|
+
MetaDataTable: true,
|
|
108
109
|
},
|
|
109
110
|
},
|
|
110
111
|
],
|
|
@@ -125,7 +126,7 @@ export default [
|
|
|
125
126
|
"error",
|
|
126
127
|
{
|
|
127
128
|
case: "kebabCase",
|
|
128
|
-
ignore: ["^__(fixtures|mocks|snapshots)__$", "^Gruntfile.js$"],
|
|
129
|
+
ignore: ["^__(fixtures|mocks|snapshots|tests)__$", "^Gruntfile.js$"],
|
|
129
130
|
},
|
|
130
131
|
],
|
|
131
132
|
"unicorn/import-style": "off", // off for now
|
|
@@ -377,6 +378,7 @@ export default [
|
|
|
377
378
|
"sonarjs/no-commented-code": "off", // neat rule but is very very slow (over 50% of the total linting time)
|
|
378
379
|
"sonarjs/no-control-regex": "off", // already covered by no-control-regexp
|
|
379
380
|
"sonarjs/no-empty-test-file": "off", // could be useful but it does not handle it.each or similar constructs thus yields more false positives than its worth */
|
|
381
|
+
"sonarjs/no-redundant-optional": "off", // flags "foo?: string | undefined" as redundant even if `exactOptionalPropertyTypes` tsconfig is enabled */
|
|
380
382
|
"sonarjs/no-skipped-tests": "off", // covered by jest/no-disabled-tests and mocha/no-pending-tests
|
|
381
383
|
"sonarjs/no-small-switch": "off", // prefer to use small switches when the intention is to all more cases later
|
|
382
384
|
"sonarjs/no-unused-vars": "off", // already coveredby @typescript-eslint/no-unused-vars
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@html-validate/eslint-config",
|
|
3
|
-
"version": "9.4.
|
|
3
|
+
"version": "9.4.6",
|
|
4
4
|
"description": "Eslint sharable config used by the various HTML-validate packages",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint"
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"publishConfig": {
|
|
66
66
|
"access": "public"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "f0f0c8079b25c34f7ad7e96247b6b303ce4e1ca5"
|
|
69
69
|
}
|