@html-validate/eslint-config 8.0.0 → 9.0.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/dist/cli.mjs +3 -35
- package/dist/cli.mjs.map +2 -2
- package/index.mjs +10 -0
- package/package.json +4 -4
- package/template/eslint.config.mjs.njk +0 -22
package/index.mjs
CHANGED
|
@@ -420,4 +420,14 @@ export default [
|
|
|
420
420
|
"import-x/no-unresolved": "off",
|
|
421
421
|
},
|
|
422
422
|
}),
|
|
423
|
+
|
|
424
|
+
defineConfig({
|
|
425
|
+
/* semantic-release is only installed on demand during release, so the
|
|
426
|
+
* imports in this file would be unresolved in a regular build */
|
|
427
|
+
name: "@html-validate/eslint-config/semantic-release",
|
|
428
|
+
files: ["release.config.{js,mjs}"],
|
|
429
|
+
rules: {
|
|
430
|
+
"import-x/no-unresolved": "off",
|
|
431
|
+
},
|
|
432
|
+
}),
|
|
423
433
|
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@html-validate/eslint-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.0.1",
|
|
4
4
|
"description": "Eslint sharable config used by the various HTML-validate packages",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint"
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@eslint-community/eslint-plugin-eslint-comments": "4.7.1",
|
|
40
|
-
"@eslint/js": "
|
|
40
|
+
"@eslint/js": "10.0.1",
|
|
41
41
|
"argparse": "2.0.1",
|
|
42
|
-
"eslint": "
|
|
42
|
+
"eslint": "10.3.0",
|
|
43
43
|
"eslint-config-prettier": "10.1.8",
|
|
44
44
|
"eslint-formatter-gitlab": "7.1.0",
|
|
45
45
|
"eslint-import-resolver-typescript": "4.4.4",
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"publishConfig": {
|
|
65
65
|
"access": "public"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "37bc3a8c007bf79a4d2195ba9166fa1399c6bd60"
|
|
68
68
|
}
|
|
@@ -5,18 +5,12 @@
|
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
{% endif %}
|
|
7
7
|
import defaultConfig from "@html-validate/eslint-config";
|
|
8
|
-
{% if angularjs %}
|
|
9
|
-
import angularjsConfig from "@html-validate/eslint-config-angularjs";
|
|
10
|
-
{% endif %}
|
|
11
8
|
{% if cypress %}
|
|
12
9
|
import cypressConfig from "@html-validate/eslint-config-cypress";
|
|
13
10
|
{% endif %}
|
|
14
11
|
{% if jest %}
|
|
15
12
|
import jestConfig from "@html-validate/eslint-config-jest";
|
|
16
13
|
{% endif %}
|
|
17
|
-
{% if protractor %}
|
|
18
|
-
import protractorConfig from "@html-validate/eslint-config-protractor";
|
|
19
|
-
{% endif %}
|
|
20
14
|
{% if typescript %}
|
|
21
15
|
import typescriptConfig from "@html-validate/eslint-config-typescript";
|
|
22
16
|
{% endif %}
|
|
@@ -67,14 +61,6 @@ export default [
|
|
|
67
61
|
...typescriptTypeinfoConfig,
|
|
68
62
|
},
|
|
69
63
|
{% endif %}
|
|
70
|
-
{% if angularjs %}
|
|
71
|
-
|
|
72
|
-
{
|
|
73
|
-
name: "@html-validate/eslint-config-angularjs",
|
|
74
|
-
files: ["app/**/*.[jt]s", "src/**/*.[jt]s"],
|
|
75
|
-
...angularjsConfig,
|
|
76
|
-
},
|
|
77
|
-
{% endif %}
|
|
78
64
|
{% if vue %}
|
|
79
65
|
|
|
80
66
|
{
|
|
@@ -109,12 +95,4 @@ export default [
|
|
|
109
95
|
...cypressConfig,
|
|
110
96
|
},
|
|
111
97
|
{% endif %}
|
|
112
|
-
{% if protractor %}
|
|
113
|
-
|
|
114
|
-
{
|
|
115
|
-
name: "@html-validate/eslint-config-protractor",
|
|
116
|
-
files: ["tests/e2e/**/*.spec.[jt]s"],
|
|
117
|
-
...protractorConfig,
|
|
118
|
-
},
|
|
119
|
-
{% endif %}
|
|
120
98
|
];
|