@html-validate/eslint-config 6.11.2 → 6.13.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
@@ -96,9 +96,11 @@ export default [
96
96
  complexity: ["warn", 10],
97
97
  "consistent-return": "error",
98
98
  "consistent-this": "off",
99
+ curly: "error",
99
100
  "dot-notation": "error",
100
101
  eqeqeq: ["error", "smart"],
101
102
  "max-depth": ["warn", 4],
103
+ "max-params": ["error", { max: 5 }],
102
104
  "new-cap": "error",
103
105
  "no-console": "warn",
104
106
  "no-dupe-class-members": "off",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@html-validate/eslint-config",
3
- "version": "6.11.2",
3
+ "version": "6.13.0",
4
4
  "description": "Eslint sharable config used by the various HTML-validate packages",
5
5
  "keywords": [
6
6
  "eslint"
@@ -64,5 +64,5 @@
64
64
  "publishConfig": {
65
65
  "access": "public"
66
66
  },
67
- "gitHead": "1f8efa3da29aca09c386e377eb76efc4671d12f5"
67
+ "gitHead": "48725db7e0865dcd0aba16604734e60c4952625a"
68
68
  }
@@ -53,7 +53,7 @@ export default [
53
53
 
54
54
  {
55
55
  name: "@html-validate/eslint-config-typescript",
56
- files: ["**/*.{ts,cts,mts}"],
56
+ files: ["**/*.{ts,cts,mts{% if vue %},vue{% endif %}}"],
57
57
  ...typescriptConfig,
58
58
  },
59
59
  {% endif %}
@@ -61,7 +61,7 @@ export default [
61
61
 
62
62
  {
63
63
  name: "@html-validate/eslint-config-typeinfo",
64
- files: ["src/**/*.ts"],
64
+ files: ["src/**/*.{ts,cts,mts{% if vue %},vue{% endif %}}"],
65
65
  ignores: ["src/**/*.spec.ts"],
66
66
  languageOptions: {
67
67
  parserOptions: {