@tcy/eslint-rules 1.3.3 → 1.4.2
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/coverage/clover.xml +2 -2
- package/coverage/lcov-report/array-elements-per-line.js.html +1 -1
- package/coverage/lcov-report/decorator-type-enforcement.js.html +1 -1
- package/coverage/lcov-report/enforce-tailwind-important.js.html +1 -1
- package/coverage/lcov-report/export-specifiers-per-line.js.html +1 -1
- package/coverage/lcov-report/import-specifiers-per-line.js.html +1 -1
- package/coverage/lcov-report/index.html +1 -1
- package/coverage/lcov-report/index.js.html +53 -11
- package/coverage/lcov-report/jsx-expression-string-literals.js.html +1 -1
- package/coverage/lcov-report/v-model-name-match.js.html +1 -1
- package/coverage/lcov-report/vuejs-define-component.js.html +1 -1
- package/coverage/lcov-report/vuejs-define-workspace.js.html +1 -1
- package/dist/index.d.ts +149 -132
- package/package.json +1 -1
- package/src/index.js +23 -9
package/coverage/clover.xml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
2
|
+
<coverage generated="1776171353571" clover="3.2.0">
|
|
3
|
+
<project timestamp="1776171353571" name="All files">
|
|
4
4
|
<metrics statements="242" coveredstatements="2" conditionals="201" coveredconditionals="0" methods="49" coveredmethods="1" elements="492" coveredelements="3" complexity="0" loc="242" ncloc="242" packages="1" files="10" classes="10"/>
|
|
5
5
|
<file name="array-elements-per-line.js" path="/home/runner/work/eslint-rules/eslint-rules/src/array-elements-per-line.js">
|
|
6
6
|
<metrics statements="25" coveredstatements="0" conditionals="17" coveredconditionals="0" methods="4" coveredmethods="0"/>
|
|
@@ -253,7 +253,7 @@ line when first element is on a new line.`,
|
|
|
253
253
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
254
254
|
Code coverage generated by
|
|
255
255
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
256
|
-
at 2026-04-
|
|
256
|
+
at 2026-04-14T12:55:53.555Z
|
|
257
257
|
</div>
|
|
258
258
|
<script src="prettify.js"></script>
|
|
259
259
|
<script>
|
|
@@ -301,7 +301,7 @@ export default {
|
|
|
301
301
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
302
302
|
Code coverage generated by
|
|
303
303
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
304
|
-
at 2026-04-
|
|
304
|
+
at 2026-04-14T12:55:53.555Z
|
|
305
305
|
</div>
|
|
306
306
|
<script src="prettify.js"></script>
|
|
307
307
|
<script>
|
|
@@ -562,7 +562,7 @@ export default {
|
|
|
562
562
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
563
563
|
Code coverage generated by
|
|
564
564
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
565
|
-
at 2026-04-
|
|
565
|
+
at 2026-04-14T12:55:53.555Z
|
|
566
566
|
</div>
|
|
567
567
|
<script src="prettify.js"></script>
|
|
568
568
|
<script>
|
|
@@ -259,7 +259,7 @@
|
|
|
259
259
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
260
260
|
Code coverage generated by
|
|
261
261
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
262
|
-
at 2026-04-
|
|
262
|
+
at 2026-04-14T12:55:53.555Z
|
|
263
263
|
</div>
|
|
264
264
|
<script src="prettify.js"></script>
|
|
265
265
|
<script>
|
|
@@ -376,7 +376,7 @@
|
|
|
376
376
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
377
377
|
Code coverage generated by
|
|
378
378
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
379
|
-
at 2026-04-
|
|
379
|
+
at 2026-04-14T12:55:53.555Z
|
|
380
380
|
</div>
|
|
381
381
|
<script src="prettify.js"></script>
|
|
382
382
|
<script>
|
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
237
237
|
Code coverage generated by
|
|
238
238
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
239
|
-
at 2026-04-
|
|
239
|
+
at 2026-04-14T12:55:53.555Z
|
|
240
240
|
</div>
|
|
241
241
|
<script src="prettify.js"></script>
|
|
242
242
|
<script>
|
|
@@ -86,7 +86,35 @@
|
|
|
86
86
|
<a name='L21'></a><a href='#L21'>21</a>
|
|
87
87
|
<a name='L22'></a><a href='#L22'>22</a>
|
|
88
88
|
<a name='L23'></a><a href='#L23'>23</a>
|
|
89
|
-
<a name='L24'></a><a href='#L24'>24</a
|
|
89
|
+
<a name='L24'></a><a href='#L24'>24</a>
|
|
90
|
+
<a name='L25'></a><a href='#L25'>25</a>
|
|
91
|
+
<a name='L26'></a><a href='#L26'>26</a>
|
|
92
|
+
<a name='L27'></a><a href='#L27'>27</a>
|
|
93
|
+
<a name='L28'></a><a href='#L28'>28</a>
|
|
94
|
+
<a name='L29'></a><a href='#L29'>29</a>
|
|
95
|
+
<a name='L30'></a><a href='#L30'>30</a>
|
|
96
|
+
<a name='L31'></a><a href='#L31'>31</a>
|
|
97
|
+
<a name='L32'></a><a href='#L32'>32</a>
|
|
98
|
+
<a name='L33'></a><a href='#L33'>33</a>
|
|
99
|
+
<a name='L34'></a><a href='#L34'>34</a>
|
|
100
|
+
<a name='L35'></a><a href='#L35'>35</a>
|
|
101
|
+
<a name='L36'></a><a href='#L36'>36</a>
|
|
102
|
+
<a name='L37'></a><a href='#L37'>37</a>
|
|
103
|
+
<a name='L38'></a><a href='#L38'>38</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
104
|
+
<span class="cline-any cline-neutral"> </span>
|
|
105
|
+
<span class="cline-any cline-neutral"> </span>
|
|
106
|
+
<span class="cline-any cline-neutral"> </span>
|
|
107
|
+
<span class="cline-any cline-neutral"> </span>
|
|
108
|
+
<span class="cline-any cline-neutral"> </span>
|
|
109
|
+
<span class="cline-any cline-neutral"> </span>
|
|
110
|
+
<span class="cline-any cline-neutral"> </span>
|
|
111
|
+
<span class="cline-any cline-neutral"> </span>
|
|
112
|
+
<span class="cline-any cline-neutral"> </span>
|
|
113
|
+
<span class="cline-any cline-neutral"> </span>
|
|
114
|
+
<span class="cline-any cline-neutral"> </span>
|
|
115
|
+
<span class="cline-any cline-neutral"> </span>
|
|
116
|
+
<span class="cline-any cline-neutral"> </span>
|
|
117
|
+
<span class="cline-any cline-neutral"> </span>
|
|
90
118
|
<span class="cline-any cline-neutral"> </span>
|
|
91
119
|
<span class="cline-any cline-neutral"> </span>
|
|
92
120
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -120,16 +148,30 @@ import vuejsDefineComponent from './vuejs-define-component.js'
|
|
|
120
148
|
import vuejsDefineWorkspace from './vuejs-define-workspace.js'
|
|
121
149
|
|
|
122
150
|
export default {
|
|
151
|
+
plugins: {
|
|
152
|
+
tcy: {
|
|
153
|
+
rules: {
|
|
154
|
+
'import-specifiers-per-line': importSpecifiersPerLineRule,
|
|
155
|
+
'array-elements-per-line': arrayElementsPerLineRule,
|
|
156
|
+
'export-specifiers-per-line': exportSpecifiersPerLineRule,
|
|
157
|
+
'jsx-expression-string-literals': jsxExpressionStringLiterals,
|
|
158
|
+
'enforce-tailwind-important': enforceTailwindImportant,
|
|
159
|
+
'v-model-name-match': vModelNameMatch,
|
|
160
|
+
'decorator-type-enforcement': decoratorTypeEnforcement,
|
|
161
|
+
'vuejs-define-component': vuejsDefineComponent,
|
|
162
|
+
'vuejs-define-workspace': vuejsDefineWorkspace,
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
},
|
|
123
166
|
rules: {
|
|
124
|
-
'import-specifiers-per-line':
|
|
125
|
-
'
|
|
126
|
-
'
|
|
127
|
-
'jsx-expression-string-literals':
|
|
128
|
-
'enforce-tailwind-important':
|
|
129
|
-
'v-model-name-match':
|
|
130
|
-
'
|
|
131
|
-
'vuejs-define-
|
|
132
|
-
'vuejs-define-workspace': vuejsDefineWorkspace,
|
|
167
|
+
'tcy/import-specifiers-per-line': ['error', { maxSpecifiers: 4 }],
|
|
168
|
+
'tcy/export-specifiers-per-line': 'error',
|
|
169
|
+
'tcy/array-elements-per-line': 'error',
|
|
170
|
+
'tcy/jsx-expression-string-literals': 'error',
|
|
171
|
+
'tcy/enforce-tailwind-important': 'error',
|
|
172
|
+
'tcy/v-model-name-match': 'error',
|
|
173
|
+
'tcy/vuejs-define-component': 'error',
|
|
174
|
+
'tcy/vuejs-define-workspace': 'error',
|
|
133
175
|
},
|
|
134
176
|
};
|
|
135
177
|
</pre></td></tr></table></pre>
|
|
@@ -139,7 +181,7 @@ export default {
|
|
|
139
181
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
140
182
|
Code coverage generated by
|
|
141
183
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
142
|
-
at 2026-04-
|
|
184
|
+
at 2026-04-14T12:55:53.555Z
|
|
143
185
|
</div>
|
|
144
186
|
<script src="prettify.js"></script>
|
|
145
187
|
<script>
|
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
194
194
|
Code coverage generated by
|
|
195
195
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
196
|
-
at 2026-04-
|
|
196
|
+
at 2026-04-14T12:55:53.555Z
|
|
197
197
|
</div>
|
|
198
198
|
<script src="prettify.js"></script>
|
|
199
199
|
<script>
|
|
@@ -289,7 +289,7 @@
|
|
|
289
289
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
290
290
|
Code coverage generated by
|
|
291
291
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
292
|
-
at 2026-04-
|
|
292
|
+
at 2026-04-14T12:55:53.555Z
|
|
293
293
|
</div>
|
|
294
294
|
<script src="prettify.js"></script>
|
|
295
295
|
<script>
|
|
@@ -328,7 +328,7 @@ export default {
|
|
|
328
328
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
329
329
|
Code coverage generated by
|
|
330
330
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
331
|
-
at 2026-04-
|
|
331
|
+
at 2026-04-14T12:55:53.555Z
|
|
332
332
|
</div>
|
|
333
333
|
<script src="prettify.js"></script>
|
|
334
334
|
<script>
|
|
@@ -265,7 +265,7 @@ export default {
|
|
|
265
265
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
266
266
|
Code coverage generated by
|
|
267
267
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
268
|
-
at 2026-04-
|
|
268
|
+
at 2026-04-14T12:55:53.555Z
|
|
269
269
|
</div>
|
|
270
270
|
<script src="prettify.js"></script>
|
|
271
271
|
<script>
|
package/dist/index.d.ts
CHANGED
|
@@ -1,149 +1,166 @@
|
|
|
1
1
|
declare namespace _default {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
schema: {
|
|
11
|
-
type: string;
|
|
12
|
-
properties: {
|
|
13
|
-
maxSpecifiers: {
|
|
14
|
-
type: string;
|
|
15
|
-
default: number;
|
|
2
|
+
export namespace plugins {
|
|
3
|
+
namespace tcy {
|
|
4
|
+
let rules: {
|
|
5
|
+
'import-specifiers-per-line': {
|
|
6
|
+
meta: {
|
|
7
|
+
type: string;
|
|
8
|
+
docs: {
|
|
9
|
+
description: string;
|
|
16
10
|
};
|
|
17
|
-
|
|
11
|
+
fixable: string;
|
|
12
|
+
schema: {
|
|
18
13
|
type: string;
|
|
19
|
-
|
|
20
|
-
|
|
14
|
+
properties: {
|
|
15
|
+
maxSpecifiers: {
|
|
16
|
+
type: string;
|
|
17
|
+
default: number;
|
|
18
|
+
};
|
|
19
|
+
maxLen: {
|
|
20
|
+
type: string;
|
|
21
|
+
default: number;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
additionalProperties: boolean;
|
|
25
|
+
}[];
|
|
26
|
+
};
|
|
27
|
+
create(context: any): {
|
|
28
|
+
ImportDeclaration(node: any): void;
|
|
21
29
|
};
|
|
22
|
-
additionalProperties: boolean;
|
|
23
|
-
}[];
|
|
24
|
-
};
|
|
25
|
-
create(context: any): {
|
|
26
|
-
ImportDeclaration(node: any): void;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
'array-elements-per-line': {
|
|
30
|
-
meta: {
|
|
31
|
-
type: string;
|
|
32
|
-
docs: {
|
|
33
|
-
description: string;
|
|
34
|
-
category: string;
|
|
35
|
-
recommended: boolean;
|
|
36
|
-
};
|
|
37
|
-
fixable: string;
|
|
38
|
-
schema: never[];
|
|
39
|
-
};
|
|
40
|
-
create(context: any): {
|
|
41
|
-
ArrayExpression(node: any): void;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
'export-specifiers-per-line': {
|
|
45
|
-
meta: {
|
|
46
|
-
type: string;
|
|
47
|
-
docs: {
|
|
48
|
-
description: string;
|
|
49
30
|
};
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
31
|
+
'array-elements-per-line': {
|
|
32
|
+
meta: {
|
|
33
|
+
type: string;
|
|
34
|
+
docs: {
|
|
35
|
+
description: string;
|
|
36
|
+
category: string;
|
|
37
|
+
recommended: boolean;
|
|
38
|
+
};
|
|
39
|
+
fixable: string;
|
|
40
|
+
schema: never[];
|
|
41
|
+
};
|
|
42
|
+
create(context: any): {
|
|
43
|
+
ArrayExpression(node: any): void;
|
|
44
|
+
};
|
|
62
45
|
};
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
recommended: boolean;
|
|
46
|
+
'export-specifiers-per-line': {
|
|
47
|
+
meta: {
|
|
48
|
+
type: string;
|
|
49
|
+
docs: {
|
|
50
|
+
description: string;
|
|
51
|
+
};
|
|
52
|
+
fixable: string;
|
|
53
|
+
schema: never[];
|
|
54
|
+
};
|
|
55
|
+
create(context: any): {
|
|
56
|
+
ExportNamedDeclaration(node: any): void;
|
|
57
|
+
};
|
|
76
58
|
};
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
59
|
+
'jsx-expression-string-literals': {
|
|
60
|
+
meta: {
|
|
61
|
+
type: string;
|
|
62
|
+
docs: {
|
|
63
|
+
description: string;
|
|
64
|
+
};
|
|
65
|
+
fixable: string;
|
|
66
|
+
schema: never[];
|
|
67
|
+
};
|
|
68
|
+
create(context: any): {
|
|
69
|
+
JSXAttribute(node: any): void;
|
|
70
|
+
};
|
|
81
71
|
};
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
72
|
+
'enforce-tailwind-important': {
|
|
73
|
+
meta: {
|
|
74
|
+
type: string;
|
|
75
|
+
docs: {
|
|
76
|
+
description: string;
|
|
77
|
+
recommended: boolean;
|
|
78
|
+
};
|
|
79
|
+
fixable: string;
|
|
80
|
+
schema: never[];
|
|
81
|
+
messages: {
|
|
82
|
+
missingImportant: string;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
create(context: any): {
|
|
86
|
+
JSXAttribute(node: any): void;
|
|
87
|
+
VariableDeclarator(node: any): void;
|
|
88
|
+
};
|
|
94
89
|
};
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
90
|
+
'v-model-name-match': {
|
|
91
|
+
meta: {
|
|
92
|
+
type: string;
|
|
93
|
+
docs: {
|
|
94
|
+
description: string;
|
|
95
|
+
recommended: boolean;
|
|
96
|
+
};
|
|
97
|
+
schema: never[];
|
|
98
|
+
messages: {
|
|
99
|
+
mismatch: string;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
create(context: any): {
|
|
103
|
+
JSXOpeningElement(node: any): void;
|
|
104
|
+
};
|
|
98
105
|
};
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
106
|
+
'decorator-type-enforcement': {
|
|
107
|
+
meta: {
|
|
108
|
+
type: string;
|
|
109
|
+
docs: {
|
|
110
|
+
description: string;
|
|
111
|
+
category: string;
|
|
112
|
+
recommended: boolean;
|
|
113
|
+
};
|
|
114
|
+
fixable: string;
|
|
115
|
+
schema: never[];
|
|
116
|
+
};
|
|
117
|
+
create(context: any): {
|
|
118
|
+
PropertyDefinition(node: any): void;
|
|
119
|
+
};
|
|
111
120
|
};
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
recommended: boolean;
|
|
121
|
+
'vuejs-define-component': {
|
|
122
|
+
meta: {
|
|
123
|
+
type: string;
|
|
124
|
+
docs: {
|
|
125
|
+
description: string;
|
|
126
|
+
recommended: boolean;
|
|
127
|
+
};
|
|
128
|
+
schema: never[];
|
|
129
|
+
};
|
|
130
|
+
create(context: any): {
|
|
131
|
+
ExportDefaultDeclaration(node: any): void;
|
|
132
|
+
};
|
|
125
133
|
};
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
134
|
+
'vuejs-define-workspace': {
|
|
135
|
+
meta: {
|
|
136
|
+
type: string;
|
|
137
|
+
docs: {
|
|
138
|
+
description: string;
|
|
139
|
+
recommended: boolean;
|
|
140
|
+
};
|
|
141
|
+
schema: never[];
|
|
142
|
+
};
|
|
143
|
+
create(context: any): {
|
|
144
|
+
ExportDefaultDeclaration?: undefined;
|
|
145
|
+
} | {
|
|
146
|
+
ExportDefaultDeclaration(node: any): void;
|
|
147
|
+
};
|
|
138
148
|
};
|
|
139
|
-
schema: never[];
|
|
140
|
-
};
|
|
141
|
-
create(context: any): {
|
|
142
|
-
ExportDefaultDeclaration?: undefined;
|
|
143
|
-
} | {
|
|
144
|
-
ExportDefaultDeclaration(node: any): void;
|
|
145
149
|
};
|
|
146
|
-
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
let rules_1: {
|
|
153
|
+
'tcy/import-specifiers-per-line': (string | {
|
|
154
|
+
maxSpecifiers: number;
|
|
155
|
+
})[];
|
|
156
|
+
'tcy/export-specifiers-per-line': string;
|
|
157
|
+
'tcy/array-elements-per-line': string;
|
|
158
|
+
'tcy/jsx-expression-string-literals': string;
|
|
159
|
+
'tcy/enforce-tailwind-important': string;
|
|
160
|
+
'tcy/v-model-name-match': string;
|
|
161
|
+
'tcy/vuejs-define-component': string;
|
|
162
|
+
'tcy/vuejs-define-workspace': string;
|
|
147
163
|
};
|
|
164
|
+
export { rules_1 as rules };
|
|
148
165
|
}
|
|
149
166
|
export default _default;
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -9,15 +9,29 @@ import vuejsDefineComponent from './vuejs-define-component.js'
|
|
|
9
9
|
import vuejsDefineWorkspace from './vuejs-define-workspace.js'
|
|
10
10
|
|
|
11
11
|
export default {
|
|
12
|
+
plugins: {
|
|
13
|
+
tcy: {
|
|
14
|
+
rules: {
|
|
15
|
+
'import-specifiers-per-line': importSpecifiersPerLineRule,
|
|
16
|
+
'array-elements-per-line': arrayElementsPerLineRule,
|
|
17
|
+
'export-specifiers-per-line': exportSpecifiersPerLineRule,
|
|
18
|
+
'jsx-expression-string-literals': jsxExpressionStringLiterals,
|
|
19
|
+
'enforce-tailwind-important': enforceTailwindImportant,
|
|
20
|
+
'v-model-name-match': vModelNameMatch,
|
|
21
|
+
'decorator-type-enforcement': decoratorTypeEnforcement,
|
|
22
|
+
'vuejs-define-component': vuejsDefineComponent,
|
|
23
|
+
'vuejs-define-workspace': vuejsDefineWorkspace,
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
},
|
|
12
27
|
rules: {
|
|
13
|
-
'import-specifiers-per-line':
|
|
14
|
-
'
|
|
15
|
-
'
|
|
16
|
-
'jsx-expression-string-literals':
|
|
17
|
-
'enforce-tailwind-important':
|
|
18
|
-
'v-model-name-match':
|
|
19
|
-
'
|
|
20
|
-
'vuejs-define-
|
|
21
|
-
'vuejs-define-workspace': vuejsDefineWorkspace,
|
|
28
|
+
'tcy/import-specifiers-per-line': ['error', { maxSpecifiers: 4 }],
|
|
29
|
+
'tcy/export-specifiers-per-line': 'error',
|
|
30
|
+
'tcy/array-elements-per-line': 'error',
|
|
31
|
+
'tcy/jsx-expression-string-literals': 'error',
|
|
32
|
+
'tcy/enforce-tailwind-important': 'error',
|
|
33
|
+
'tcy/v-model-name-match': 'error',
|
|
34
|
+
'tcy/vuejs-define-component': 'error',
|
|
35
|
+
'tcy/vuejs-define-workspace': 'error',
|
|
22
36
|
},
|
|
23
37
|
};
|