@html-validate/eslint-config 9.6.2 → 9.6.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 +1 -1
- package/dist/cli.mjs.map +1 -1
- package/package.json +2 -2
- package/template/eslint.config.mjs.njk +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@html-validate/eslint-config",
|
|
3
|
-
"version": "9.6.
|
|
3
|
+
"version": "9.6.3",
|
|
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": "84d2a32e02d756e8e0372da9119ef3d336bcb771"
|
|
69
69
|
}
|
|
@@ -24,6 +24,7 @@ import vitestConfig from "@html-validate/eslint-config-vitest";
|
|
|
24
24
|
import vueConfig from "@html-validate/eslint-config-vue";
|
|
25
25
|
{% endif %}
|
|
26
26
|
|
|
27
|
+
{% if typescript or typeinfo or vue or jest or vitest or cypress %}
|
|
27
28
|
export default [
|
|
28
29
|
...defaultConfig,
|
|
29
30
|
{% if typescript %}
|
|
@@ -84,3 +85,6 @@ export default [
|
|
|
84
85
|
},
|
|
85
86
|
{% endif %}
|
|
86
87
|
];
|
|
88
|
+
{% else %}
|
|
89
|
+
export default defaultConfig;
|
|
90
|
+
{% endif %}
|