eslint-plugin-vuetify 2.0.3 → 2.0.4
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.
|
@@ -97,6 +97,11 @@ module.exports = {
|
|
|
97
97
|
messageId: 'removed',
|
|
98
98
|
data: {
|
|
99
99
|
name: hyphenate(tag)
|
|
100
|
+
},
|
|
101
|
+
fix(fixer) {
|
|
102
|
+
if (tag === 'VListItemContent' && !element.startTag.attributes.length) {
|
|
103
|
+
return element.children.length ? [fixer.remove(element.startTag), fixer.remove(element.endTag)] : fixer.remove(element);
|
|
104
|
+
}
|
|
100
105
|
}
|
|
101
106
|
});
|
|
102
107
|
}
|
|
@@ -501,7 +501,10 @@ const replacements = {
|
|
|
501
501
|
value: 'model-value'
|
|
502
502
|
},
|
|
503
503
|
VIcon: {
|
|
504
|
-
dense:
|
|
504
|
+
dense: {
|
|
505
|
+
name: 'size',
|
|
506
|
+
value: 'small'
|
|
507
|
+
},
|
|
505
508
|
disabled: false,
|
|
506
509
|
left: 'start',
|
|
507
510
|
right: 'end',
|
|
@@ -601,7 +604,8 @@ const replacements = {
|
|
|
601
604
|
},
|
|
602
605
|
src: 'image',
|
|
603
606
|
stateless: false,
|
|
604
|
-
value: 'model-value'
|
|
607
|
+
value: 'model-value',
|
|
608
|
+
...theme
|
|
605
609
|
},
|
|
606
610
|
VOverlay: {
|
|
607
611
|
color: 'scrim',
|
|
@@ -746,7 +750,8 @@ const replacements = {
|
|
|
746
750
|
name: 'location',
|
|
747
751
|
value: 'top'
|
|
748
752
|
},
|
|
749
|
-
value: 'model-value'
|
|
753
|
+
value: 'model-value',
|
|
754
|
+
...theme
|
|
750
755
|
},
|
|
751
756
|
VSwitch: {
|
|
752
757
|
...inputs,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-vuetify",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"description": "An eslint plugin for Vuetify",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"author": "Kael Watts-Deuchar <kaelwd@gmail.com>",
|
|
@@ -17,7 +17,6 @@
|
|
|
17
17
|
"files": [
|
|
18
18
|
"lib"
|
|
19
19
|
],
|
|
20
|
-
"packageManager": "pnpm@7",
|
|
21
20
|
"homepage": "https://github.com/vuetifyjs/eslint-plugin-vuetify#readme",
|
|
22
21
|
"dependencies": {
|
|
23
22
|
"eslint-plugin-vue": "^9.6.0",
|