eslint-plugin-vuetify 2.0.3 → 2.0.5
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
|
}
|
|
@@ -32,6 +32,10 @@ const sizes = {
|
|
|
32
32
|
value: 'x-small'
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
|
+
const theme = {
|
|
36
|
+
dark: false,
|
|
37
|
+
light: false
|
|
38
|
+
};
|
|
35
39
|
const inputs = {
|
|
36
40
|
appendOuterIcon: 'append-icon',
|
|
37
41
|
backgroundColor: 'bg-color',
|
|
@@ -60,7 +64,6 @@ const inputs = {
|
|
|
60
64
|
name: 'variant',
|
|
61
65
|
value: 'outlined'
|
|
62
66
|
},
|
|
63
|
-
rounded: false,
|
|
64
67
|
shaped: false,
|
|
65
68
|
solo: {
|
|
66
69
|
name: 'variant',
|
|
@@ -76,14 +79,14 @@ const inputs = {
|
|
|
76
79
|
name: 'validate-on',
|
|
77
80
|
value: 'blur'
|
|
78
81
|
},
|
|
79
|
-
value: 'model-value'
|
|
82
|
+
value: 'model-value',
|
|
83
|
+
...theme
|
|
80
84
|
};
|
|
81
85
|
const select = {
|
|
82
86
|
allowOverflow: false,
|
|
83
87
|
attach: {
|
|
84
88
|
custom: ':menu-props="{ attach: true }"'
|
|
85
89
|
},
|
|
86
|
-
autoSelectFirst: false,
|
|
87
90
|
cacheItems: false,
|
|
88
91
|
deletableChips: 'closable-chips',
|
|
89
92
|
disableLookup: false,
|
|
@@ -101,10 +104,6 @@ const select = {
|
|
|
101
104
|
...inputs,
|
|
102
105
|
dense: false
|
|
103
106
|
};
|
|
104
|
-
const theme = {
|
|
105
|
-
dark: false,
|
|
106
|
-
light: false
|
|
107
|
-
};
|
|
108
107
|
const link = {
|
|
109
108
|
append: false,
|
|
110
109
|
exactActiveClass: false,
|
|
@@ -196,7 +195,23 @@ const replacements = {
|
|
|
196
195
|
avatar: false,
|
|
197
196
|
mode: false,
|
|
198
197
|
origin: false,
|
|
199
|
-
overlap: false
|
|
198
|
+
overlap: false,
|
|
199
|
+
bottom: {
|
|
200
|
+
name: 'location',
|
|
201
|
+
value: 'bottom'
|
|
202
|
+
},
|
|
203
|
+
left: {
|
|
204
|
+
name: 'location',
|
|
205
|
+
value: 'left'
|
|
206
|
+
},
|
|
207
|
+
right: {
|
|
208
|
+
name: 'location',
|
|
209
|
+
value: 'right'
|
|
210
|
+
},
|
|
211
|
+
top: {
|
|
212
|
+
name: 'location',
|
|
213
|
+
value: 'top'
|
|
214
|
+
}
|
|
200
215
|
},
|
|
201
216
|
VBanner: {
|
|
202
217
|
app: false,
|
|
@@ -467,6 +482,7 @@ const replacements = {
|
|
|
467
482
|
nudgeTop: {
|
|
468
483
|
custom: 'offset'
|
|
469
484
|
},
|
|
485
|
+
nudgeWidth: false,
|
|
470
486
|
offsetOverflow: false,
|
|
471
487
|
offsetX: false,
|
|
472
488
|
offsetY: false,
|
|
@@ -501,7 +517,10 @@ const replacements = {
|
|
|
501
517
|
value: 'model-value'
|
|
502
518
|
},
|
|
503
519
|
VIcon: {
|
|
504
|
-
dense:
|
|
520
|
+
dense: {
|
|
521
|
+
name: 'size',
|
|
522
|
+
value: 'small'
|
|
523
|
+
},
|
|
505
524
|
disabled: false,
|
|
506
525
|
left: 'start',
|
|
507
526
|
right: 'end',
|
|
@@ -601,7 +620,8 @@ const replacements = {
|
|
|
601
620
|
},
|
|
602
621
|
src: 'image',
|
|
603
622
|
stateless: false,
|
|
604
|
-
value: 'model-value'
|
|
623
|
+
value: 'model-value',
|
|
624
|
+
...theme
|
|
605
625
|
},
|
|
606
626
|
VOverlay: {
|
|
607
627
|
color: 'scrim',
|
|
@@ -654,8 +674,7 @@ const replacements = {
|
|
|
654
674
|
height: false,
|
|
655
675
|
loading: false,
|
|
656
676
|
inverseLabel: false,
|
|
657
|
-
...inputs
|
|
658
|
-
...theme
|
|
677
|
+
...inputs
|
|
659
678
|
},
|
|
660
679
|
VRangeSlider: {
|
|
661
680
|
backgroundColor: false,
|
|
@@ -670,8 +689,7 @@ const replacements = {
|
|
|
670
689
|
height: false,
|
|
671
690
|
loading: false,
|
|
672
691
|
inverseLabel: false,
|
|
673
|
-
...inputs
|
|
674
|
-
...theme
|
|
692
|
+
...inputs
|
|
675
693
|
},
|
|
676
694
|
VRating: {
|
|
677
695
|
backgroundColor: false,
|
|
@@ -746,7 +764,8 @@ const replacements = {
|
|
|
746
764
|
name: 'location',
|
|
747
765
|
value: 'top'
|
|
748
766
|
},
|
|
749
|
-
value: 'model-value'
|
|
767
|
+
value: 'model-value',
|
|
768
|
+
...theme
|
|
750
769
|
},
|
|
751
770
|
VSwitch: {
|
|
752
771
|
...inputs,
|
|
@@ -847,6 +866,7 @@ const replacements = {
|
|
|
847
866
|
nudgeTop: {
|
|
848
867
|
custom: 'offset'
|
|
849
868
|
},
|
|
869
|
+
nudgeWidth: false,
|
|
850
870
|
positionX: false,
|
|
851
871
|
positionY: false,
|
|
852
872
|
right: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-vuetify",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.5",
|
|
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",
|