@momsfriendlydevco/eslint-config 2.1.5 → 2.1.6
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.js +12 -4
- package/package.json +5 -5
package/index.js
CHANGED
|
@@ -155,9 +155,16 @@ export default [
|
|
|
155
155
|
selfClosingTag: 'never'
|
|
156
156
|
}],
|
|
157
157
|
'vue/html-indent': ['warn', 'tab', {
|
|
158
|
-
ignores: [ // Don't enforce indent rules for attributes that
|
|
159
|
-
'[class]',
|
|
158
|
+
ignores: [ // Don't enforce indent rules for attributes that can have indented logic
|
|
160
159
|
'[v-tooltip]',
|
|
160
|
+
|
|
161
|
+
// NOTE: Annoyingly this doesn't / can't match `[:class]` as that isn't valid esquery
|
|
162
|
+
// I've tried all the following to fix this but none of these work - MC 2025-05-07
|
|
163
|
+
// 'VAttribute[directive=true][key.name.name="class"]',
|
|
164
|
+
// 'VDirective[key.name=class]',
|
|
165
|
+
// 'VDirective[key.name=/class/]',
|
|
166
|
+
// '[/.class/]',
|
|
167
|
+
// NOTE: To fix add `// eslint-disable vue-/html-indent`
|
|
161
168
|
],
|
|
162
169
|
}],
|
|
163
170
|
'vue/html-self-closing': ['warn', {
|
|
@@ -185,10 +192,11 @@ export default [
|
|
|
185
192
|
'parent',
|
|
186
193
|
'functional',
|
|
187
194
|
['delimiters', 'comments'],
|
|
188
|
-
|
|
195
|
+
'inject',
|
|
196
|
+
'provide',
|
|
189
197
|
'extends',
|
|
190
198
|
'mixins',
|
|
191
|
-
['
|
|
199
|
+
['components', 'directives', 'emits', 'filters'],
|
|
192
200
|
'ROUTER_GUARDS',
|
|
193
201
|
'layout',
|
|
194
202
|
'middleware',
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@momsfriendlydevco/eslint-config",
|
|
3
3
|
"description": "ESLint plugin for @MomsFriendlyDevCo projects",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.6",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "eslint --config index.js test/data"
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
},
|
|
25
25
|
"homepage": "https://github.com/MomsFriendlyDevCo/eslint#readme",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"eslint-plugin-jsdoc": "^50.6.
|
|
28
|
-
"eslint-plugin-unicorn": "^
|
|
29
|
-
"eslint-plugin-vue": "^10.
|
|
27
|
+
"eslint-plugin-jsdoc": "^50.6.11",
|
|
28
|
+
"eslint-plugin-unicorn": "^59.0.1",
|
|
29
|
+
"eslint-plugin-vue": "^10.1.0",
|
|
30
30
|
"vue-eslint-parser": "^10.1.3"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"eslint": "
|
|
33
|
+
"eslint": "^9.26.0"
|
|
34
34
|
}
|
|
35
35
|
}
|