@html-validate/eslint-config 6.6.1 → 6.7.0

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/index.mjs CHANGED
@@ -158,7 +158,7 @@ export default [
158
158
  defineConfig({
159
159
  /* mjs requires file extension */
160
160
  name: "@html-validate/eslint-config/esm",
161
- files: ["**/*.mjs"],
161
+ files: ["**/*.mjs", "**/*.mts"],
162
162
  rules: {
163
163
  "import/extensions": [
164
164
  "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@html-validate/eslint-config",
3
- "version": "6.6.1",
3
+ "version": "6.7.0",
4
4
  "description": "Eslint sharable config used by the various HTML-validate packages",
5
5
  "keywords": [
6
6
  "eslint"
@@ -58,11 +58,11 @@
58
58
  "prettier": "^3.0.0"
59
59
  },
60
60
  "engines": {
61
- "node": ">= 20.12.0",
61
+ "node": "^20.13.0 || >= 22.0.0",
62
62
  "npm": ">= 7"
63
63
  },
64
64
  "publishConfig": {
65
65
  "access": "public"
66
66
  },
67
- "gitHead": "1834f89b00813c35a3c5e80a2271716cf1cb83c5"
67
+ "gitHead": "a2d5e5144b49b0dc2755fd3f17fd9d13f540bdb0"
68
68
  }
@@ -50,7 +50,7 @@ export default [
50
50
 
51
51
  {
52
52
  name: "@html-validate/eslint-config-typescript",
53
- files: ["**/*.ts"],
53
+ files: ["**/*.{ts,cts,mts}"],
54
54
  ...typescriptConfig,
55
55
  },
56
56
  {% endif %}
@@ -63,7 +63,7 @@ export default [
63
63
  languageOptions: {
64
64
  parserOptions: {
65
65
  tsconfigRootDir: {% if typeinfo.rootDir == "." %}rootDir{% else %}path.join(rootDir, "{{ typeinfo.rootDir }}"){% endif %},
66
- project: ["{{ typeinfo.tsconfig }}"],
66
+ projectService: true,
67
67
  },
68
68
  },
69
69
  ...typescriptTypeinfoConfig,