@html-validate/eslint-config 9.4.0 → 9.4.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/index.mjs CHANGED
@@ -99,7 +99,15 @@ export default [
99
99
  "unicorn/better-dom-traversing": "error",
100
100
  "unicorn/catch-error-name": "off",
101
101
  "unicorn/consistent-assert": "off",
102
- "unicorn/consistent-compound-words": "error",
102
+ "unicorn/consistent-compound-words": [
103
+ "error",
104
+ {
105
+ allowList: {
106
+ /* widely used in the html-validate projects */
107
+ MetaData: true,
108
+ },
109
+ },
110
+ ],
103
111
  "unicorn/consistent-date-clone": "error",
104
112
  "unicorn/consistent-empty-array-spread": "off",
105
113
  "unicorn/consistent-existence-index-check": "error",
@@ -112,7 +120,14 @@ export default [
112
120
  "unicorn/escape-case": "off", // typically not useful for this organisation
113
121
  "unicorn/expiring-todo-comments": "off", // could be useful later
114
122
  "unicorn/explicit-length-check": ["error", { "non-zero": "greater-than" }],
115
- "unicorn/filename-case": ["error", { case: "kebabCase", ignore: ["^Gruntfile.js$"] }], // enforce kebab-case in filenames
123
+ "unicorn/filename-case": [
124
+ // enforce kebab-case in filenames
125
+ "error",
126
+ {
127
+ case: "kebabCase",
128
+ ignore: ["^__(fixtures|mocks|snapshots)__$", "^Gruntfile.js$"],
129
+ },
130
+ ],
116
131
  "unicorn/import-style": "off", // off for now
117
132
  "unicorn/isolated-functions": "error",
118
133
  "unicorn/new-for-builtins": "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@html-validate/eslint-config",
3
- "version": "9.4.0",
3
+ "version": "9.4.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": "4309d02ab6d6084eaf89662780fd3e869997e111"
68
+ "gitHead": "a6004df27d568de4863779880374827d634988ff"
69
69
  }