@tcy/eslint-rules 1.4.3 → 1.4.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.
- package/README.md +5 -7
- package/coverage/clover.xml +2 -2
- package/coverage/lcov-report/array-elements-per-line.js.html +1 -1
- package/coverage/lcov-report/back.js.html +15 -3
- package/coverage/lcov-report/client.js.html +15 -3
- 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 +1 -1
- package/coverage/lcov-report/jsx-expression-string-literals.js.html +1 -1
- package/coverage/lcov-report/plugin.js.html +12 -36
- 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/decl/back.d.ts +16 -0
- package/decl/client.d.ts +21 -0
- package/decl/plugin.d.ts +147 -0
- package/package.json +11 -5
- package/src/back.js +5 -1
- package/src/client.js +5 -1
- package/src/plugin.js +10 -18
- package/tsconfig.json +1 -1
- package/dist/back.d.ts +0 -160
- package/dist/client.d.ts +0 -165
- package/dist/plugin.d.ts +0 -155
- /package/{dist → decl}/array-elements-per-line.d.ts +0 -0
- /package/{dist → decl}/decorator-type-enforcement.d.ts +0 -0
- /package/{dist → decl}/enforce-tailwind-important.d.ts +0 -0
- /package/{dist → decl}/export-specifiers-per-line.d.ts +0 -0
- /package/{dist → decl}/import-specifiers-per-line.d.ts +0 -0
- /package/{dist → decl}/index.d.ts +0 -0
- /package/{dist → decl}/jsx-expression-string-literals.d.ts +0 -0
- /package/{dist → decl}/v-model-name-match.d.ts +0 -0
- /package/{dist → decl}/vuejs-define-component.d.ts +0 -0
- /package/{dist → decl}/vuejs-define-workspace.d.ts +0 -0
package/README.md
CHANGED
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
# Custom rules
|
|
2
2
|
|
|
3
3
|
```typescript
|
|
4
|
-
import
|
|
4
|
+
import clientCustomRules from 'tcy@eslint-rules/client';
|
|
5
5
|
|
|
6
6
|
const customConfig = [
|
|
7
|
+
clientCustomRules,
|
|
7
8
|
{
|
|
8
9
|
files: ['**/*.+(ts|tsx|mts|cts)'],
|
|
9
|
-
plugins: {
|
|
10
|
-
'custom-rules': customRules,
|
|
11
|
-
},
|
|
12
10
|
rules: {
|
|
13
|
-
'
|
|
14
|
-
'
|
|
15
|
-
'
|
|
11
|
+
'tcy/import-specifiers-per-line': ['error', { maxSpecifiers: 4 }],
|
|
12
|
+
'tcy/export-specifiers-per-line': 'error',
|
|
13
|
+
'tcy/array-elements-per-line': 'error',
|
|
16
14
|
},
|
|
17
15
|
},
|
|
18
16
|
];
|
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="1776174207666" clover="3.2.0">
|
|
3
|
+
<project timestamp="1776174207666" 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="13" classes="13"/>
|
|
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-14T13:
|
|
256
|
+
at 2026-04-14T13:43:27.654Z
|
|
257
257
|
</div>
|
|
258
258
|
<script src="prettify.js"></script>
|
|
259
259
|
<script>
|
|
@@ -73,7 +73,15 @@
|
|
|
73
73
|
<a name='L8'></a><a href='#L8'>8</a>
|
|
74
74
|
<a name='L9'></a><a href='#L9'>9</a>
|
|
75
75
|
<a name='L10'></a><a href='#L10'>10</a>
|
|
76
|
-
<a name='L11'></a><a href='#L11'>11</a
|
|
76
|
+
<a name='L11'></a><a href='#L11'>11</a>
|
|
77
|
+
<a name='L12'></a><a href='#L12'>12</a>
|
|
78
|
+
<a name='L13'></a><a href='#L13'>13</a>
|
|
79
|
+
<a name='L14'></a><a href='#L14'>14</a>
|
|
80
|
+
<a name='L15'></a><a href='#L15'>15</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
81
|
+
<span class="cline-any cline-neutral"> </span>
|
|
82
|
+
<span class="cline-any cline-neutral"> </span>
|
|
83
|
+
<span class="cline-any cline-neutral"> </span>
|
|
84
|
+
<span class="cline-any cline-neutral"> </span>
|
|
77
85
|
<span class="cline-any cline-neutral"> </span>
|
|
78
86
|
<span class="cline-any cline-neutral"> </span>
|
|
79
87
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -86,7 +94,11 @@
|
|
|
86
94
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import pluginConfig from './plugin.js'
|
|
87
95
|
|
|
88
96
|
export default {
|
|
89
|
-
|
|
97
|
+
plugins: {
|
|
98
|
+
tcy: {
|
|
99
|
+
rules: pluginConfig
|
|
100
|
+
},
|
|
101
|
+
},
|
|
90
102
|
rules: {
|
|
91
103
|
'tcy/import-specifiers-per-line': ['error', { maxSpecifiers: 4 }],
|
|
92
104
|
'tcy/export-specifiers-per-line': 'error',
|
|
@@ -100,7 +112,7 @@ export default {
|
|
|
100
112
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
101
113
|
Code coverage generated by
|
|
102
114
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
103
|
-
at 2026-04-14T13:
|
|
115
|
+
at 2026-04-14T13:43:27.654Z
|
|
104
116
|
</div>
|
|
105
117
|
<script src="prettify.js"></script>
|
|
106
118
|
<script>
|
|
@@ -78,7 +78,15 @@
|
|
|
78
78
|
<a name='L13'></a><a href='#L13'>13</a>
|
|
79
79
|
<a name='L14'></a><a href='#L14'>14</a>
|
|
80
80
|
<a name='L15'></a><a href='#L15'>15</a>
|
|
81
|
-
<a name='L16'></a><a href='#L16'>16</a
|
|
81
|
+
<a name='L16'></a><a href='#L16'>16</a>
|
|
82
|
+
<a name='L17'></a><a href='#L17'>17</a>
|
|
83
|
+
<a name='L18'></a><a href='#L18'>18</a>
|
|
84
|
+
<a name='L19'></a><a href='#L19'>19</a>
|
|
85
|
+
<a name='L20'></a><a href='#L20'>20</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
86
|
+
<span class="cline-any cline-neutral"> </span>
|
|
87
|
+
<span class="cline-any cline-neutral"> </span>
|
|
88
|
+
<span class="cline-any cline-neutral"> </span>
|
|
89
|
+
<span class="cline-any cline-neutral"> </span>
|
|
82
90
|
<span class="cline-any cline-neutral"> </span>
|
|
83
91
|
<span class="cline-any cline-neutral"> </span>
|
|
84
92
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -96,7 +104,11 @@
|
|
|
96
104
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import pluginConfig from './plugin.js'
|
|
97
105
|
|
|
98
106
|
export default {
|
|
99
|
-
|
|
107
|
+
plugins: {
|
|
108
|
+
tcy: {
|
|
109
|
+
rules: pluginConfig
|
|
110
|
+
},
|
|
111
|
+
},
|
|
100
112
|
rules: {
|
|
101
113
|
'tcy/import-specifiers-per-line': ['error', { maxSpecifiers: 4 }],
|
|
102
114
|
'tcy/export-specifiers-per-line': 'error',
|
|
@@ -115,7 +127,7 @@ export default {
|
|
|
115
127
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
116
128
|
Code coverage generated by
|
|
117
129
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
118
|
-
at 2026-04-14T13:
|
|
130
|
+
at 2026-04-14T13:43:27.654Z
|
|
119
131
|
</div>
|
|
120
132
|
<script src="prettify.js"></script>
|
|
121
133
|
<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-14T13:
|
|
304
|
+
at 2026-04-14T13:43:27.654Z
|
|
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-14T13:
|
|
565
|
+
at 2026-04-14T13:43:27.654Z
|
|
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-14T13:
|
|
262
|
+
at 2026-04-14T13:43:27.654Z
|
|
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-14T13:
|
|
379
|
+
at 2026-04-14T13:43:27.654Z
|
|
380
380
|
</div>
|
|
381
381
|
<script src="prettify.js"></script>
|
|
382
382
|
<script>
|
|
@@ -281,7 +281,7 @@
|
|
|
281
281
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
282
282
|
Code coverage generated by
|
|
283
283
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
284
|
-
at 2026-04-14T13:
|
|
284
|
+
at 2026-04-14T13:43:27.654Z
|
|
285
285
|
</div>
|
|
286
286
|
<script src="prettify.js"></script>
|
|
287
287
|
<script>
|
|
@@ -76,7 +76,7 @@ export * as back from './back.js'
|
|
|
76
76
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
77
77
|
Code coverage generated by
|
|
78
78
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
79
|
-
at 2026-04-14T13:
|
|
79
|
+
at 2026-04-14T13:43:27.654Z
|
|
80
80
|
</div>
|
|
81
81
|
<script src="prettify.js"></script>
|
|
82
82
|
<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-14T13:
|
|
196
|
+
at 2026-04-14T13:43:27.654Z
|
|
197
197
|
</div>
|
|
198
198
|
<script src="prettify.js"></script>
|
|
199
199
|
<script>
|
|
@@ -84,23 +84,7 @@
|
|
|
84
84
|
<a name='L19'></a><a href='#L19'>19</a>
|
|
85
85
|
<a name='L20'></a><a href='#L20'>20</a>
|
|
86
86
|
<a name='L21'></a><a href='#L21'>21</a>
|
|
87
|
-
<a name='L22'></a><a href='#L22'>22</a>
|
|
88
|
-
<a name='L23'></a><a href='#L23'>23</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></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
96
|
-
<span class="cline-any cline-neutral"> </span>
|
|
97
|
-
<span class="cline-any cline-neutral"> </span>
|
|
98
|
-
<span class="cline-any cline-neutral"> </span>
|
|
99
|
-
<span class="cline-any cline-neutral"> </span>
|
|
100
|
-
<span class="cline-any cline-neutral"> </span>
|
|
101
|
-
<span class="cline-any cline-neutral"> </span>
|
|
102
|
-
<span class="cline-any cline-neutral"> </span>
|
|
103
|
-
<span class="cline-any cline-neutral"> </span>
|
|
87
|
+
<a name='L22'></a><a href='#L22'>22</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
104
88
|
<span class="cline-any cline-neutral"> </span>
|
|
105
89
|
<span class="cline-any cline-neutral"> </span>
|
|
106
90
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -132,24 +116,16 @@ import vuejsDefineComponent from './vuejs-define-component.js'
|
|
|
132
116
|
import vuejsDefineWorkspace from './vuejs-define-workspace.js'
|
|
133
117
|
|
|
134
118
|
export default {
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
'vuejs-define-component': vuejsDefineComponent,
|
|
146
|
-
'vuejs-define-workspace': vuejsDefineWorkspace,
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
},
|
|
150
|
-
rules: {
|
|
151
|
-
},
|
|
152
|
-
};
|
|
119
|
+
'import-specifiers-per-line': importSpecifiersPerLineRule,
|
|
120
|
+
'array-elements-per-line': arrayElementsPerLineRule,
|
|
121
|
+
'export-specifiers-per-line': exportSpecifiersPerLineRule,
|
|
122
|
+
'jsx-expression-string-literals': jsxExpressionStringLiterals,
|
|
123
|
+
'enforce-tailwind-important': enforceTailwindImportant,
|
|
124
|
+
'v-model-name-match': vModelNameMatch,
|
|
125
|
+
'decorator-type-enforcement': decoratorTypeEnforcement,
|
|
126
|
+
'vuejs-define-component': vuejsDefineComponent,
|
|
127
|
+
'vuejs-define-workspace': vuejsDefineWorkspace,
|
|
128
|
+
}
|
|
153
129
|
</pre></td></tr></table></pre>
|
|
154
130
|
|
|
155
131
|
<div class='push'></div><!-- for sticky footer -->
|
|
@@ -157,7 +133,7 @@ export default {
|
|
|
157
133
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
158
134
|
Code coverage generated by
|
|
159
135
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
160
|
-
at 2026-04-14T13:
|
|
136
|
+
at 2026-04-14T13:43:27.654Z
|
|
161
137
|
</div>
|
|
162
138
|
<script src="prettify.js"></script>
|
|
163
139
|
<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-14T13:
|
|
292
|
+
at 2026-04-14T13:43:27.654Z
|
|
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-14T13:
|
|
331
|
+
at 2026-04-14T13:43:27.654Z
|
|
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-14T13:
|
|
268
|
+
at 2026-04-14T13:43:27.654Z
|
|
269
269
|
</div>
|
|
270
270
|
<script src="prettify.js"></script>
|
|
271
271
|
<script>
|
package/decl/back.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
namespace plugins {
|
|
3
|
+
namespace tcy {
|
|
4
|
+
export { pluginConfig as rules };
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
let rules: {
|
|
8
|
+
'tcy/import-specifiers-per-line': (string | {
|
|
9
|
+
maxSpecifiers: number;
|
|
10
|
+
})[];
|
|
11
|
+
'tcy/export-specifiers-per-line': string;
|
|
12
|
+
'tcy/array-elements-per-line': string;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export default _default;
|
|
16
|
+
import pluginConfig from './plugin.js';
|
package/decl/client.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
namespace plugins {
|
|
3
|
+
namespace tcy {
|
|
4
|
+
export { pluginConfig as rules };
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
let rules: {
|
|
8
|
+
'tcy/import-specifiers-per-line': (string | {
|
|
9
|
+
maxSpecifiers: number;
|
|
10
|
+
})[];
|
|
11
|
+
'tcy/export-specifiers-per-line': string;
|
|
12
|
+
'tcy/array-elements-per-line': string;
|
|
13
|
+
'tcy/jsx-expression-string-literals': string;
|
|
14
|
+
'tcy/enforce-tailwind-important': string;
|
|
15
|
+
'tcy/v-model-name-match': string;
|
|
16
|
+
'tcy/vuejs-define-component': string;
|
|
17
|
+
'tcy/vuejs-define-workspace': string;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
export default _default;
|
|
21
|
+
import pluginConfig from './plugin.js';
|
package/decl/plugin.d.ts
ADDED
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
'import-specifiers-per-line': {
|
|
3
|
+
meta: {
|
|
4
|
+
type: string;
|
|
5
|
+
docs: {
|
|
6
|
+
description: string;
|
|
7
|
+
};
|
|
8
|
+
fixable: string;
|
|
9
|
+
schema: {
|
|
10
|
+
type: string;
|
|
11
|
+
properties: {
|
|
12
|
+
maxSpecifiers: {
|
|
13
|
+
type: string;
|
|
14
|
+
default: number;
|
|
15
|
+
};
|
|
16
|
+
maxLen: {
|
|
17
|
+
type: string;
|
|
18
|
+
default: number;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
additionalProperties: boolean;
|
|
22
|
+
}[];
|
|
23
|
+
};
|
|
24
|
+
create(context: any): {
|
|
25
|
+
ImportDeclaration(node: any): void;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
'array-elements-per-line': {
|
|
29
|
+
meta: {
|
|
30
|
+
type: string;
|
|
31
|
+
docs: {
|
|
32
|
+
description: string;
|
|
33
|
+
category: string;
|
|
34
|
+
recommended: boolean;
|
|
35
|
+
};
|
|
36
|
+
fixable: string;
|
|
37
|
+
schema: never[];
|
|
38
|
+
};
|
|
39
|
+
create(context: any): {
|
|
40
|
+
ArrayExpression(node: any): void;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
'export-specifiers-per-line': {
|
|
44
|
+
meta: {
|
|
45
|
+
type: string;
|
|
46
|
+
docs: {
|
|
47
|
+
description: string;
|
|
48
|
+
};
|
|
49
|
+
fixable: string;
|
|
50
|
+
schema: never[];
|
|
51
|
+
};
|
|
52
|
+
create(context: any): {
|
|
53
|
+
ExportNamedDeclaration(node: any): void;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
'jsx-expression-string-literals': {
|
|
57
|
+
meta: {
|
|
58
|
+
type: string;
|
|
59
|
+
docs: {
|
|
60
|
+
description: string;
|
|
61
|
+
};
|
|
62
|
+
fixable: string;
|
|
63
|
+
schema: never[];
|
|
64
|
+
};
|
|
65
|
+
create(context: any): {
|
|
66
|
+
JSXAttribute(node: any): void;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
'enforce-tailwind-important': {
|
|
70
|
+
meta: {
|
|
71
|
+
type: string;
|
|
72
|
+
docs: {
|
|
73
|
+
description: string;
|
|
74
|
+
recommended: boolean;
|
|
75
|
+
};
|
|
76
|
+
fixable: string;
|
|
77
|
+
schema: never[];
|
|
78
|
+
messages: {
|
|
79
|
+
missingImportant: string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
create(context: any): {
|
|
83
|
+
JSXAttribute(node: any): void;
|
|
84
|
+
VariableDeclarator(node: any): void;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
'v-model-name-match': {
|
|
88
|
+
meta: {
|
|
89
|
+
type: string;
|
|
90
|
+
docs: {
|
|
91
|
+
description: string;
|
|
92
|
+
recommended: boolean;
|
|
93
|
+
};
|
|
94
|
+
schema: never[];
|
|
95
|
+
messages: {
|
|
96
|
+
mismatch: string;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
create(context: any): {
|
|
100
|
+
JSXOpeningElement(node: any): void;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
'decorator-type-enforcement': {
|
|
104
|
+
meta: {
|
|
105
|
+
type: string;
|
|
106
|
+
docs: {
|
|
107
|
+
description: string;
|
|
108
|
+
category: string;
|
|
109
|
+
recommended: boolean;
|
|
110
|
+
};
|
|
111
|
+
fixable: string;
|
|
112
|
+
schema: never[];
|
|
113
|
+
};
|
|
114
|
+
create(context: any): {
|
|
115
|
+
PropertyDefinition(node: any): void;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
'vuejs-define-component': {
|
|
119
|
+
meta: {
|
|
120
|
+
type: string;
|
|
121
|
+
docs: {
|
|
122
|
+
description: string;
|
|
123
|
+
recommended: boolean;
|
|
124
|
+
};
|
|
125
|
+
schema: never[];
|
|
126
|
+
};
|
|
127
|
+
create(context: any): {
|
|
128
|
+
ExportDefaultDeclaration(node: any): void;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
'vuejs-define-workspace': {
|
|
132
|
+
meta: {
|
|
133
|
+
type: string;
|
|
134
|
+
docs: {
|
|
135
|
+
description: string;
|
|
136
|
+
recommended: boolean;
|
|
137
|
+
};
|
|
138
|
+
schema: never[];
|
|
139
|
+
};
|
|
140
|
+
create(context: any): {
|
|
141
|
+
ExportDefaultDeclaration?: undefined;
|
|
142
|
+
} | {
|
|
143
|
+
ExportDefaultDeclaration(node: any): void;
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tcy/eslint-rules",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.4",
|
|
4
4
|
"description": "```typescript import { plugin as customRules } from 'tcy@eslint-rules/src/index.mjs';",
|
|
5
5
|
"homepage": "https://github.com/tcastelly/eslint-rules#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -14,14 +14,20 @@
|
|
|
14
14
|
"author": "Thomas CASTELLY",
|
|
15
15
|
"type": "module",
|
|
16
16
|
"main": "src/index.js",
|
|
17
|
-
"types": "
|
|
17
|
+
"types": "decl/index.d.ts",
|
|
18
18
|
"exports": {
|
|
19
|
-
"./client":
|
|
20
|
-
|
|
19
|
+
"./client": {
|
|
20
|
+
"types": "./decl/client.d.ts",
|
|
21
|
+
"import": "./src/client.js"
|
|
22
|
+
},
|
|
23
|
+
"./back": {
|
|
24
|
+
"types": "./decl/back.d.ts",
|
|
25
|
+
"import": "./src/back.js"
|
|
26
|
+
}
|
|
21
27
|
},
|
|
22
28
|
"scripts": {
|
|
23
29
|
"build:decl": "tsc",
|
|
24
|
-
"clean": "rimraf
|
|
30
|
+
"clean": "rimraf decl",
|
|
25
31
|
"prepublishOnly": "npm run clean && npm run test && npm run build:decl",
|
|
26
32
|
"test": "jest"
|
|
27
33
|
},
|
package/src/back.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import pluginConfig from './plugin.js'
|
|
2
2
|
|
|
3
3
|
export default {
|
|
4
|
-
|
|
4
|
+
plugins: {
|
|
5
|
+
tcy: {
|
|
6
|
+
rules: pluginConfig
|
|
7
|
+
},
|
|
8
|
+
},
|
|
5
9
|
rules: {
|
|
6
10
|
'tcy/import-specifiers-per-line': ['error', { maxSpecifiers: 4 }],
|
|
7
11
|
'tcy/export-specifiers-per-line': 'error',
|
package/src/client.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import pluginConfig from './plugin.js'
|
|
2
2
|
|
|
3
3
|
export default {
|
|
4
|
-
|
|
4
|
+
plugins: {
|
|
5
|
+
tcy: {
|
|
6
|
+
rules: pluginConfig
|
|
7
|
+
},
|
|
8
|
+
},
|
|
5
9
|
rules: {
|
|
6
10
|
'tcy/import-specifiers-per-line': ['error', { maxSpecifiers: 4 }],
|
|
7
11
|
'tcy/export-specifiers-per-line': 'error',
|
package/src/plugin.js
CHANGED
|
@@ -9,21 +9,13 @@ import vuejsDefineComponent from './vuejs-define-component.js'
|
|
|
9
9
|
import vuejsDefineWorkspace from './vuejs-define-workspace.js'
|
|
10
10
|
|
|
11
11
|
export default {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
'vuejs-define-component': vuejsDefineComponent,
|
|
23
|
-
'vuejs-define-workspace': vuejsDefineWorkspace,
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
rules: {
|
|
28
|
-
},
|
|
29
|
-
};
|
|
12
|
+
'import-specifiers-per-line': importSpecifiersPerLineRule,
|
|
13
|
+
'array-elements-per-line': arrayElementsPerLineRule,
|
|
14
|
+
'export-specifiers-per-line': exportSpecifiersPerLineRule,
|
|
15
|
+
'jsx-expression-string-literals': jsxExpressionStringLiterals,
|
|
16
|
+
'enforce-tailwind-important': enforceTailwindImportant,
|
|
17
|
+
'v-model-name-match': vModelNameMatch,
|
|
18
|
+
'decorator-type-enforcement': decoratorTypeEnforcement,
|
|
19
|
+
'vuejs-define-component': vuejsDefineComponent,
|
|
20
|
+
'vuejs-define-workspace': vuejsDefineWorkspace,
|
|
21
|
+
}
|
package/tsconfig.json
CHANGED
package/dist/back.d.ts
DELETED
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
rules: {
|
|
3
|
-
'tcy/import-specifiers-per-line': (string | {
|
|
4
|
-
maxSpecifiers: number;
|
|
5
|
-
})[];
|
|
6
|
-
'tcy/export-specifiers-per-line': string;
|
|
7
|
-
'tcy/array-elements-per-line': string;
|
|
8
|
-
};
|
|
9
|
-
plugins: {
|
|
10
|
-
tcy: {
|
|
11
|
-
rules: {
|
|
12
|
-
'import-specifiers-per-line': {
|
|
13
|
-
meta: {
|
|
14
|
-
type: string;
|
|
15
|
-
docs: {
|
|
16
|
-
description: string;
|
|
17
|
-
};
|
|
18
|
-
fixable: string;
|
|
19
|
-
schema: {
|
|
20
|
-
type: string;
|
|
21
|
-
properties: {
|
|
22
|
-
maxSpecifiers: {
|
|
23
|
-
type: string;
|
|
24
|
-
default: number;
|
|
25
|
-
};
|
|
26
|
-
maxLen: {
|
|
27
|
-
type: string;
|
|
28
|
-
default: number;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
additionalProperties: boolean;
|
|
32
|
-
}[];
|
|
33
|
-
};
|
|
34
|
-
create(context: any): {
|
|
35
|
-
ImportDeclaration(node: any): void;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
'array-elements-per-line': {
|
|
39
|
-
meta: {
|
|
40
|
-
type: string;
|
|
41
|
-
docs: {
|
|
42
|
-
description: string;
|
|
43
|
-
category: string;
|
|
44
|
-
recommended: boolean;
|
|
45
|
-
};
|
|
46
|
-
fixable: string;
|
|
47
|
-
schema: never[];
|
|
48
|
-
};
|
|
49
|
-
create(context: any): {
|
|
50
|
-
ArrayExpression(node: any): void;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
'export-specifiers-per-line': {
|
|
54
|
-
meta: {
|
|
55
|
-
type: string;
|
|
56
|
-
docs: {
|
|
57
|
-
description: string;
|
|
58
|
-
};
|
|
59
|
-
fixable: string;
|
|
60
|
-
schema: never[];
|
|
61
|
-
};
|
|
62
|
-
create(context: any): {
|
|
63
|
-
ExportNamedDeclaration(node: any): void;
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
'jsx-expression-string-literals': {
|
|
67
|
-
meta: {
|
|
68
|
-
type: string;
|
|
69
|
-
docs: {
|
|
70
|
-
description: string;
|
|
71
|
-
};
|
|
72
|
-
fixable: string;
|
|
73
|
-
schema: never[];
|
|
74
|
-
};
|
|
75
|
-
create(context: any): {
|
|
76
|
-
JSXAttribute(node: any): void;
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
'enforce-tailwind-important': {
|
|
80
|
-
meta: {
|
|
81
|
-
type: string;
|
|
82
|
-
docs: {
|
|
83
|
-
description: string;
|
|
84
|
-
recommended: boolean;
|
|
85
|
-
};
|
|
86
|
-
fixable: string;
|
|
87
|
-
schema: never[];
|
|
88
|
-
messages: {
|
|
89
|
-
missingImportant: string;
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
create(context: any): {
|
|
93
|
-
JSXAttribute(node: any): void;
|
|
94
|
-
VariableDeclarator(node: any): void;
|
|
95
|
-
};
|
|
96
|
-
};
|
|
97
|
-
'v-model-name-match': {
|
|
98
|
-
meta: {
|
|
99
|
-
type: string;
|
|
100
|
-
docs: {
|
|
101
|
-
description: string;
|
|
102
|
-
recommended: boolean;
|
|
103
|
-
};
|
|
104
|
-
schema: never[];
|
|
105
|
-
messages: {
|
|
106
|
-
mismatch: string;
|
|
107
|
-
};
|
|
108
|
-
};
|
|
109
|
-
create(context: any): {
|
|
110
|
-
JSXOpeningElement(node: any): void;
|
|
111
|
-
};
|
|
112
|
-
};
|
|
113
|
-
'decorator-type-enforcement': {
|
|
114
|
-
meta: {
|
|
115
|
-
type: string;
|
|
116
|
-
docs: {
|
|
117
|
-
description: string;
|
|
118
|
-
category: string;
|
|
119
|
-
recommended: boolean;
|
|
120
|
-
};
|
|
121
|
-
fixable: string;
|
|
122
|
-
schema: never[];
|
|
123
|
-
};
|
|
124
|
-
create(context: any): {
|
|
125
|
-
PropertyDefinition(node: any): void;
|
|
126
|
-
};
|
|
127
|
-
};
|
|
128
|
-
'vuejs-define-component': {
|
|
129
|
-
meta: {
|
|
130
|
-
type: string;
|
|
131
|
-
docs: {
|
|
132
|
-
description: string;
|
|
133
|
-
recommended: boolean;
|
|
134
|
-
};
|
|
135
|
-
schema: never[];
|
|
136
|
-
};
|
|
137
|
-
create(context: any): {
|
|
138
|
-
ExportDefaultDeclaration(node: any): void;
|
|
139
|
-
};
|
|
140
|
-
};
|
|
141
|
-
'vuejs-define-workspace': {
|
|
142
|
-
meta: {
|
|
143
|
-
type: string;
|
|
144
|
-
docs: {
|
|
145
|
-
description: string;
|
|
146
|
-
recommended: boolean;
|
|
147
|
-
};
|
|
148
|
-
schema: never[];
|
|
149
|
-
};
|
|
150
|
-
create(context: any): {
|
|
151
|
-
ExportDefaultDeclaration?: undefined;
|
|
152
|
-
} | {
|
|
153
|
-
ExportDefaultDeclaration(node: any): void;
|
|
154
|
-
};
|
|
155
|
-
};
|
|
156
|
-
};
|
|
157
|
-
};
|
|
158
|
-
};
|
|
159
|
-
};
|
|
160
|
-
export default _default;
|
package/dist/client.d.ts
DELETED
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
rules: {
|
|
3
|
-
'tcy/import-specifiers-per-line': (string | {
|
|
4
|
-
maxSpecifiers: number;
|
|
5
|
-
})[];
|
|
6
|
-
'tcy/export-specifiers-per-line': string;
|
|
7
|
-
'tcy/array-elements-per-line': string;
|
|
8
|
-
'tcy/jsx-expression-string-literals': string;
|
|
9
|
-
'tcy/enforce-tailwind-important': string;
|
|
10
|
-
'tcy/v-model-name-match': string;
|
|
11
|
-
'tcy/vuejs-define-component': string;
|
|
12
|
-
'tcy/vuejs-define-workspace': string;
|
|
13
|
-
};
|
|
14
|
-
plugins: {
|
|
15
|
-
tcy: {
|
|
16
|
-
rules: {
|
|
17
|
-
'import-specifiers-per-line': {
|
|
18
|
-
meta: {
|
|
19
|
-
type: string;
|
|
20
|
-
docs: {
|
|
21
|
-
description: string;
|
|
22
|
-
};
|
|
23
|
-
fixable: string;
|
|
24
|
-
schema: {
|
|
25
|
-
type: string;
|
|
26
|
-
properties: {
|
|
27
|
-
maxSpecifiers: {
|
|
28
|
-
type: string;
|
|
29
|
-
default: number;
|
|
30
|
-
};
|
|
31
|
-
maxLen: {
|
|
32
|
-
type: string;
|
|
33
|
-
default: number;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
additionalProperties: boolean;
|
|
37
|
-
}[];
|
|
38
|
-
};
|
|
39
|
-
create(context: any): {
|
|
40
|
-
ImportDeclaration(node: any): void;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
'array-elements-per-line': {
|
|
44
|
-
meta: {
|
|
45
|
-
type: string;
|
|
46
|
-
docs: {
|
|
47
|
-
description: string;
|
|
48
|
-
category: string;
|
|
49
|
-
recommended: boolean;
|
|
50
|
-
};
|
|
51
|
-
fixable: string;
|
|
52
|
-
schema: never[];
|
|
53
|
-
};
|
|
54
|
-
create(context: any): {
|
|
55
|
-
ArrayExpression(node: any): void;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
'export-specifiers-per-line': {
|
|
59
|
-
meta: {
|
|
60
|
-
type: string;
|
|
61
|
-
docs: {
|
|
62
|
-
description: string;
|
|
63
|
-
};
|
|
64
|
-
fixable: string;
|
|
65
|
-
schema: never[];
|
|
66
|
-
};
|
|
67
|
-
create(context: any): {
|
|
68
|
-
ExportNamedDeclaration(node: any): void;
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
'jsx-expression-string-literals': {
|
|
72
|
-
meta: {
|
|
73
|
-
type: string;
|
|
74
|
-
docs: {
|
|
75
|
-
description: string;
|
|
76
|
-
};
|
|
77
|
-
fixable: string;
|
|
78
|
-
schema: never[];
|
|
79
|
-
};
|
|
80
|
-
create(context: any): {
|
|
81
|
-
JSXAttribute(node: any): void;
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
'enforce-tailwind-important': {
|
|
85
|
-
meta: {
|
|
86
|
-
type: string;
|
|
87
|
-
docs: {
|
|
88
|
-
description: string;
|
|
89
|
-
recommended: boolean;
|
|
90
|
-
};
|
|
91
|
-
fixable: string;
|
|
92
|
-
schema: never[];
|
|
93
|
-
messages: {
|
|
94
|
-
missingImportant: string;
|
|
95
|
-
};
|
|
96
|
-
};
|
|
97
|
-
create(context: any): {
|
|
98
|
-
JSXAttribute(node: any): void;
|
|
99
|
-
VariableDeclarator(node: any): void;
|
|
100
|
-
};
|
|
101
|
-
};
|
|
102
|
-
'v-model-name-match': {
|
|
103
|
-
meta: {
|
|
104
|
-
type: string;
|
|
105
|
-
docs: {
|
|
106
|
-
description: string;
|
|
107
|
-
recommended: boolean;
|
|
108
|
-
};
|
|
109
|
-
schema: never[];
|
|
110
|
-
messages: {
|
|
111
|
-
mismatch: string;
|
|
112
|
-
};
|
|
113
|
-
};
|
|
114
|
-
create(context: any): {
|
|
115
|
-
JSXOpeningElement(node: any): void;
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
|
-
'decorator-type-enforcement': {
|
|
119
|
-
meta: {
|
|
120
|
-
type: string;
|
|
121
|
-
docs: {
|
|
122
|
-
description: string;
|
|
123
|
-
category: string;
|
|
124
|
-
recommended: boolean;
|
|
125
|
-
};
|
|
126
|
-
fixable: string;
|
|
127
|
-
schema: never[];
|
|
128
|
-
};
|
|
129
|
-
create(context: any): {
|
|
130
|
-
PropertyDefinition(node: any): void;
|
|
131
|
-
};
|
|
132
|
-
};
|
|
133
|
-
'vuejs-define-component': {
|
|
134
|
-
meta: {
|
|
135
|
-
type: string;
|
|
136
|
-
docs: {
|
|
137
|
-
description: string;
|
|
138
|
-
recommended: boolean;
|
|
139
|
-
};
|
|
140
|
-
schema: never[];
|
|
141
|
-
};
|
|
142
|
-
create(context: any): {
|
|
143
|
-
ExportDefaultDeclaration(node: any): void;
|
|
144
|
-
};
|
|
145
|
-
};
|
|
146
|
-
'vuejs-define-workspace': {
|
|
147
|
-
meta: {
|
|
148
|
-
type: string;
|
|
149
|
-
docs: {
|
|
150
|
-
description: string;
|
|
151
|
-
recommended: boolean;
|
|
152
|
-
};
|
|
153
|
-
schema: never[];
|
|
154
|
-
};
|
|
155
|
-
create(context: any): {
|
|
156
|
-
ExportDefaultDeclaration?: undefined;
|
|
157
|
-
} | {
|
|
158
|
-
ExportDefaultDeclaration(node: any): void;
|
|
159
|
-
};
|
|
160
|
-
};
|
|
161
|
-
};
|
|
162
|
-
};
|
|
163
|
-
};
|
|
164
|
-
};
|
|
165
|
-
export default _default;
|
package/dist/plugin.d.ts
DELETED
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
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;
|
|
10
|
-
};
|
|
11
|
-
fixable: string;
|
|
12
|
-
schema: {
|
|
13
|
-
type: string;
|
|
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;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
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
|
-
};
|
|
45
|
-
};
|
|
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
|
-
};
|
|
58
|
-
};
|
|
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
|
-
};
|
|
71
|
-
};
|
|
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
|
-
};
|
|
89
|
-
};
|
|
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
|
-
};
|
|
105
|
-
};
|
|
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
|
-
};
|
|
120
|
-
};
|
|
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
|
-
};
|
|
133
|
-
};
|
|
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
|
-
};
|
|
148
|
-
};
|
|
149
|
-
};
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
let rules_1: {};
|
|
153
|
-
export { rules_1 as rules };
|
|
154
|
-
}
|
|
155
|
-
export default _default;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|