eslint-plugin-vuetify 2.0.2 → 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.
|
@@ -20,7 +20,6 @@ const replacements = {
|
|
|
20
20
|
VContent: 'v-main',
|
|
21
21
|
VCalendar: false,
|
|
22
22
|
VData: false,
|
|
23
|
-
VDatePicker: false,
|
|
24
23
|
VListItemGroup: false,
|
|
25
24
|
VListItemAvatar: false,
|
|
26
25
|
VListItemContent: false,
|
|
@@ -98,6 +97,11 @@ module.exports = {
|
|
|
98
97
|
messageId: 'removed',
|
|
99
98
|
data: {
|
|
100
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
|
+
}
|
|
101
105
|
}
|
|
102
106
|
});
|
|
103
107
|
}
|
|
@@ -66,7 +66,10 @@ const inputs = {
|
|
|
66
66
|
name: 'variant',
|
|
67
67
|
value: 'solo'
|
|
68
68
|
},
|
|
69
|
-
soloInverted:
|
|
69
|
+
soloInverted: {
|
|
70
|
+
name: 'variant',
|
|
71
|
+
value: 'solo-inverted'
|
|
72
|
+
},
|
|
70
73
|
success: false,
|
|
71
74
|
successMessages: false,
|
|
72
75
|
validateOnBlur: {
|
|
@@ -348,7 +351,6 @@ const replacements = {
|
|
|
348
351
|
dense: false,
|
|
349
352
|
errorCount: 'max-errors',
|
|
350
353
|
hideSpinButtons: false,
|
|
351
|
-
hint: false,
|
|
352
354
|
inputValue: 'model-value',
|
|
353
355
|
offIcon: 'false-icon',
|
|
354
356
|
onIcon: 'true-icon',
|
|
@@ -499,7 +501,10 @@ const replacements = {
|
|
|
499
501
|
value: 'model-value'
|
|
500
502
|
},
|
|
501
503
|
VIcon: {
|
|
502
|
-
dense:
|
|
504
|
+
dense: {
|
|
505
|
+
name: 'size',
|
|
506
|
+
value: 'small'
|
|
507
|
+
},
|
|
503
508
|
disabled: false,
|
|
504
509
|
left: 'start',
|
|
505
510
|
right: 'end',
|
|
@@ -599,7 +604,8 @@ const replacements = {
|
|
|
599
604
|
},
|
|
600
605
|
src: 'image',
|
|
601
606
|
stateless: false,
|
|
602
|
-
value: 'model-value'
|
|
607
|
+
value: 'model-value',
|
|
608
|
+
...theme
|
|
603
609
|
},
|
|
604
610
|
VOverlay: {
|
|
605
611
|
color: 'scrim',
|
|
@@ -744,7 +750,8 @@ const replacements = {
|
|
|
744
750
|
name: 'location',
|
|
745
751
|
value: 'top'
|
|
746
752
|
},
|
|
747
|
-
value: 'model-value'
|
|
753
|
+
value: 'model-value',
|
|
754
|
+
...theme
|
|
748
755
|
},
|
|
749
756
|
VSwitch: {
|
|
750
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",
|