@tcy/eslint-rules 1.4.2 → 1.4.3
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 +12 -3
- package/coverage/coverage-final.json +3 -0
- package/coverage/lcov-report/array-elements-per-line.js.html +1 -1
- package/coverage/lcov-report/back.js.html +115 -0
- package/coverage/lcov-report/client.js.html +130 -0
- 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 +46 -1
- package/coverage/lcov-report/index.js.html +4 -109
- package/coverage/lcov-report/jsx-expression-string-literals.js.html +1 -1
- package/coverage/lcov-report/plugin.js.html +172 -0
- 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/coverage/lcov.info +27 -0
- package/dist/back.d.ts +160 -0
- package/dist/client.d.ts +165 -0
- package/dist/index.d.ts +2 -166
- package/dist/plugin.d.ts +155 -0
- package/package.json +5 -1
- package/src/back.js +10 -0
- package/src/client.js +15 -0
- package/src/index.js +2 -37
- package/src/plugin.js +29 -0
|
@@ -93,6 +93,36 @@
|
|
|
93
93
|
<td data-value="25" class="abs low">0/25</td>
|
|
94
94
|
</tr>
|
|
95
95
|
|
|
96
|
+
<tr>
|
|
97
|
+
<td class="file empty" data-value="back.js"><a href="back.js.html">back.js</a></td>
|
|
98
|
+
<td data-value="0" class="pic empty">
|
|
99
|
+
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
|
|
100
|
+
</td>
|
|
101
|
+
<td data-value="0" class="pct empty">0%</td>
|
|
102
|
+
<td data-value="0" class="abs empty">0/0</td>
|
|
103
|
+
<td data-value="0" class="pct empty">0%</td>
|
|
104
|
+
<td data-value="0" class="abs empty">0/0</td>
|
|
105
|
+
<td data-value="0" class="pct empty">0%</td>
|
|
106
|
+
<td data-value="0" class="abs empty">0/0</td>
|
|
107
|
+
<td data-value="0" class="pct empty">0%</td>
|
|
108
|
+
<td data-value="0" class="abs empty">0/0</td>
|
|
109
|
+
</tr>
|
|
110
|
+
|
|
111
|
+
<tr>
|
|
112
|
+
<td class="file empty" data-value="client.js"><a href="client.js.html">client.js</a></td>
|
|
113
|
+
<td data-value="0" class="pic empty">
|
|
114
|
+
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
|
|
115
|
+
</td>
|
|
116
|
+
<td data-value="0" class="pct empty">0%</td>
|
|
117
|
+
<td data-value="0" class="abs empty">0/0</td>
|
|
118
|
+
<td data-value="0" class="pct empty">0%</td>
|
|
119
|
+
<td data-value="0" class="abs empty">0/0</td>
|
|
120
|
+
<td data-value="0" class="pct empty">0%</td>
|
|
121
|
+
<td data-value="0" class="abs empty">0/0</td>
|
|
122
|
+
<td data-value="0" class="pct empty">0%</td>
|
|
123
|
+
<td data-value="0" class="abs empty">0/0</td>
|
|
124
|
+
</tr>
|
|
125
|
+
|
|
96
126
|
<tr>
|
|
97
127
|
<td class="file low" data-value="decorator-type-enforcement.js"><a href="decorator-type-enforcement.js.html">decorator-type-enforcement.js</a></td>
|
|
98
128
|
<td data-value="0" class="pic low">
|
|
@@ -183,6 +213,21 @@
|
|
|
183
213
|
<td data-value="9" class="abs low">0/9</td>
|
|
184
214
|
</tr>
|
|
185
215
|
|
|
216
|
+
<tr>
|
|
217
|
+
<td class="file empty" data-value="plugin.js"><a href="plugin.js.html">plugin.js</a></td>
|
|
218
|
+
<td data-value="0" class="pic empty">
|
|
219
|
+
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
|
|
220
|
+
</td>
|
|
221
|
+
<td data-value="0" class="pct empty">0%</td>
|
|
222
|
+
<td data-value="0" class="abs empty">0/0</td>
|
|
223
|
+
<td data-value="0" class="pct empty">0%</td>
|
|
224
|
+
<td data-value="0" class="abs empty">0/0</td>
|
|
225
|
+
<td data-value="0" class="pct empty">0%</td>
|
|
226
|
+
<td data-value="0" class="abs empty">0/0</td>
|
|
227
|
+
<td data-value="0" class="pct empty">0%</td>
|
|
228
|
+
<td data-value="0" class="abs empty">0/0</td>
|
|
229
|
+
</tr>
|
|
230
|
+
|
|
186
231
|
<tr>
|
|
187
232
|
<td class="file low" data-value="v-model-name-match.js"><a href="v-model-name-match.js.html">v-model-name-match.js</a></td>
|
|
188
233
|
<td data-value="0" class="pic low">
|
|
@@ -236,7 +281,7 @@
|
|
|
236
281
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
237
282
|
Code coverage generated by
|
|
238
283
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
239
|
-
at 2026-04-
|
|
284
|
+
at 2026-04-14T13:20:10.835Z
|
|
240
285
|
</div>
|
|
241
286
|
<script src="prettify.js"></script>
|
|
242
287
|
<script>
|
|
@@ -65,115 +65,10 @@
|
|
|
65
65
|
<pre><table class="coverage">
|
|
66
66
|
<tr><td class="line-count quiet"><a name='L1'></a><a href='#L1'>1</a>
|
|
67
67
|
<a name='L2'></a><a href='#L2'>2</a>
|
|
68
|
-
<a name='L3'></a><a href='#L3'>3</a>
|
|
69
|
-
<a name='L4'></a><a href='#L4'>4</a>
|
|
70
|
-
<a name='L5'></a><a href='#L5'>5</a>
|
|
71
|
-
<a name='L6'></a><a href='#L6'>6</a>
|
|
72
|
-
<a name='L7'></a><a href='#L7'>7</a>
|
|
73
|
-
<a name='L8'></a><a href='#L8'>8</a>
|
|
74
|
-
<a name='L9'></a><a href='#L9'>9</a>
|
|
75
|
-
<a name='L10'></a><a href='#L10'>10</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>
|
|
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>
|
|
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>
|
|
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>
|
|
68
|
+
<a name='L3'></a><a href='#L3'>3</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
104
69
|
<span class="cline-any cline-neutral"> </span>
|
|
105
|
-
<span class="cline-any cline-neutral"> </span>
|
|
106
|
-
|
|
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>
|
|
118
|
-
<span class="cline-any cline-neutral"> </span>
|
|
119
|
-
<span class="cline-any cline-neutral"> </span>
|
|
120
|
-
<span class="cline-any cline-neutral"> </span>
|
|
121
|
-
<span class="cline-any cline-neutral"> </span>
|
|
122
|
-
<span class="cline-any cline-neutral"> </span>
|
|
123
|
-
<span class="cline-any cline-neutral"> </span>
|
|
124
|
-
<span class="cline-any cline-neutral"> </span>
|
|
125
|
-
<span class="cline-any cline-neutral"> </span>
|
|
126
|
-
<span class="cline-any cline-neutral"> </span>
|
|
127
|
-
<span class="cline-any cline-neutral"> </span>
|
|
128
|
-
<span class="cline-any cline-neutral"> </span>
|
|
129
|
-
<span class="cline-any cline-neutral"> </span>
|
|
130
|
-
<span class="cline-any cline-neutral"> </span>
|
|
131
|
-
<span class="cline-any cline-neutral"> </span>
|
|
132
|
-
<span class="cline-any cline-neutral"> </span>
|
|
133
|
-
<span class="cline-any cline-neutral"> </span>
|
|
134
|
-
<span class="cline-any cline-neutral"> </span>
|
|
135
|
-
<span class="cline-any cline-neutral"> </span>
|
|
136
|
-
<span class="cline-any cline-neutral"> </span>
|
|
137
|
-
<span class="cline-any cline-neutral"> </span>
|
|
138
|
-
<span class="cline-any cline-neutral"> </span>
|
|
139
|
-
<span class="cline-any cline-neutral"> </span>
|
|
140
|
-
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import importSpecifiersPerLineRule from './import-specifiers-per-line.js';
|
|
141
|
-
import arrayElementsPerLineRule from './array-elements-per-line.js';
|
|
142
|
-
import exportSpecifiersPerLineRule from './export-specifiers-per-line.js';
|
|
143
|
-
import jsxExpressionStringLiterals from './jsx-expression-string-literals.js';
|
|
144
|
-
import enforceTailwindImportant from './enforce-tailwind-important.js';
|
|
145
|
-
import vModelNameMatch from './v-model-name-match.js';
|
|
146
|
-
import decoratorTypeEnforcement from './decorator-type-enforcement.js'
|
|
147
|
-
import vuejsDefineComponent from './vuejs-define-component.js'
|
|
148
|
-
import vuejsDefineWorkspace from './vuejs-define-workspace.js'
|
|
149
|
-
|
|
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
|
-
},
|
|
166
|
-
rules: {
|
|
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',
|
|
175
|
-
},
|
|
176
|
-
};
|
|
70
|
+
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">export * as client from './client.js'
|
|
71
|
+
export * as back from './back.js'
|
|
177
72
|
</pre></td></tr></table></pre>
|
|
178
73
|
|
|
179
74
|
<div class='push'></div><!-- for sticky footer -->
|
|
@@ -181,7 +76,7 @@ export default {
|
|
|
181
76
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
182
77
|
Code coverage generated by
|
|
183
78
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
184
|
-
at 2026-04-
|
|
79
|
+
at 2026-04-14T13:20:10.835Z
|
|
185
80
|
</div>
|
|
186
81
|
<script src="prettify.js"></script>
|
|
187
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-
|
|
196
|
+
at 2026-04-14T13:20:10.835Z
|
|
197
197
|
</div>
|
|
198
198
|
<script src="prettify.js"></script>
|
|
199
199
|
<script>
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
|
|
2
|
+
<!doctype html>
|
|
3
|
+
<html lang="en">
|
|
4
|
+
|
|
5
|
+
<head>
|
|
6
|
+
<title>Code coverage report for plugin.js</title>
|
|
7
|
+
<meta charset="utf-8" />
|
|
8
|
+
<link rel="stylesheet" href="prettify.css" />
|
|
9
|
+
<link rel="stylesheet" href="base.css" />
|
|
10
|
+
<link rel="shortcut icon" type="image/x-icon" href="favicon.png" />
|
|
11
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
12
|
+
<style type='text/css'>
|
|
13
|
+
.coverage-summary .sorter {
|
|
14
|
+
background-image: url(sort-arrow-sprite.png);
|
|
15
|
+
}
|
|
16
|
+
</style>
|
|
17
|
+
</head>
|
|
18
|
+
|
|
19
|
+
<body>
|
|
20
|
+
<div class='wrapper'>
|
|
21
|
+
<div class='pad1'>
|
|
22
|
+
<h1><a href="index.html">All files</a> plugin.js</h1>
|
|
23
|
+
<div class='clearfix'>
|
|
24
|
+
|
|
25
|
+
<div class='fl pad1y space-right2'>
|
|
26
|
+
<span class="strong">0% </span>
|
|
27
|
+
<span class="quiet">Statements</span>
|
|
28
|
+
<span class='fraction'>0/0</span>
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
<div class='fl pad1y space-right2'>
|
|
33
|
+
<span class="strong">0% </span>
|
|
34
|
+
<span class="quiet">Branches</span>
|
|
35
|
+
<span class='fraction'>0/0</span>
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
<div class='fl pad1y space-right2'>
|
|
40
|
+
<span class="strong">0% </span>
|
|
41
|
+
<span class="quiet">Functions</span>
|
|
42
|
+
<span class='fraction'>0/0</span>
|
|
43
|
+
</div>
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
<div class='fl pad1y space-right2'>
|
|
47
|
+
<span class="strong">0% </span>
|
|
48
|
+
<span class="quiet">Lines</span>
|
|
49
|
+
<span class='fraction'>0/0</span>
|
|
50
|
+
</div>
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
</div>
|
|
54
|
+
<p class="quiet">
|
|
55
|
+
Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>, <em>p</em> or <em>k</em> for the previous block.
|
|
56
|
+
</p>
|
|
57
|
+
<template id="filterTemplate">
|
|
58
|
+
<div class="quiet">
|
|
59
|
+
Filter:
|
|
60
|
+
<input type="search" id="fileSearch">
|
|
61
|
+
</div>
|
|
62
|
+
</template>
|
|
63
|
+
</div>
|
|
64
|
+
<div class='status-line low'></div>
|
|
65
|
+
<pre><table class="coverage">
|
|
66
|
+
<tr><td class="line-count quiet"><a name='L1'></a><a href='#L1'>1</a>
|
|
67
|
+
<a name='L2'></a><a href='#L2'>2</a>
|
|
68
|
+
<a name='L3'></a><a href='#L3'>3</a>
|
|
69
|
+
<a name='L4'></a><a href='#L4'>4</a>
|
|
70
|
+
<a name='L5'></a><a href='#L5'>5</a>
|
|
71
|
+
<a name='L6'></a><a href='#L6'>6</a>
|
|
72
|
+
<a name='L7'></a><a href='#L7'>7</a>
|
|
73
|
+
<a name='L8'></a><a href='#L8'>8</a>
|
|
74
|
+
<a name='L9'></a><a href='#L9'>9</a>
|
|
75
|
+
<a name='L10'></a><a href='#L10'>10</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>
|
|
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>
|
|
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>
|
|
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>
|
|
118
|
+
<span class="cline-any cline-neutral"> </span>
|
|
119
|
+
<span class="cline-any cline-neutral"> </span>
|
|
120
|
+
<span class="cline-any cline-neutral"> </span>
|
|
121
|
+
<span class="cline-any cline-neutral"> </span>
|
|
122
|
+
<span class="cline-any cline-neutral"> </span>
|
|
123
|
+
<span class="cline-any cline-neutral"> </span>
|
|
124
|
+
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import importSpecifiersPerLineRule from './import-specifiers-per-line.js';
|
|
125
|
+
import arrayElementsPerLineRule from './array-elements-per-line.js';
|
|
126
|
+
import exportSpecifiersPerLineRule from './export-specifiers-per-line.js';
|
|
127
|
+
import jsxExpressionStringLiterals from './jsx-expression-string-literals.js';
|
|
128
|
+
import enforceTailwindImportant from './enforce-tailwind-important.js';
|
|
129
|
+
import vModelNameMatch from './v-model-name-match.js';
|
|
130
|
+
import decoratorTypeEnforcement from './decorator-type-enforcement.js'
|
|
131
|
+
import vuejsDefineComponent from './vuejs-define-component.js'
|
|
132
|
+
import vuejsDefineWorkspace from './vuejs-define-workspace.js'
|
|
133
|
+
|
|
134
|
+
export default {
|
|
135
|
+
plugins: {
|
|
136
|
+
tcy: {
|
|
137
|
+
rules: {
|
|
138
|
+
'import-specifiers-per-line': importSpecifiersPerLineRule,
|
|
139
|
+
'array-elements-per-line': arrayElementsPerLineRule,
|
|
140
|
+
'export-specifiers-per-line': exportSpecifiersPerLineRule,
|
|
141
|
+
'jsx-expression-string-literals': jsxExpressionStringLiterals,
|
|
142
|
+
'enforce-tailwind-important': enforceTailwindImportant,
|
|
143
|
+
'v-model-name-match': vModelNameMatch,
|
|
144
|
+
'decorator-type-enforcement': decoratorTypeEnforcement,
|
|
145
|
+
'vuejs-define-component': vuejsDefineComponent,
|
|
146
|
+
'vuejs-define-workspace': vuejsDefineWorkspace,
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
rules: {
|
|
151
|
+
},
|
|
152
|
+
};
|
|
153
|
+
</pre></td></tr></table></pre>
|
|
154
|
+
|
|
155
|
+
<div class='push'></div><!-- for sticky footer -->
|
|
156
|
+
</div><!-- /wrapper -->
|
|
157
|
+
<div class='footer quiet pad2 space-top1 center small'>
|
|
158
|
+
Code coverage generated by
|
|
159
|
+
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
160
|
+
at 2026-04-14T13:20:10.835Z
|
|
161
|
+
</div>
|
|
162
|
+
<script src="prettify.js"></script>
|
|
163
|
+
<script>
|
|
164
|
+
window.onload = function () {
|
|
165
|
+
prettyPrint();
|
|
166
|
+
};
|
|
167
|
+
</script>
|
|
168
|
+
<script src="sorter.js"></script>
|
|
169
|
+
<script src="block-navigation.js"></script>
|
|
170
|
+
</body>
|
|
171
|
+
</html>
|
|
172
|
+
|
|
@@ -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-14T13:20:10.835Z
|
|
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-14T13:20:10.835Z
|
|
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-14T13:20:10.835Z
|
|
269
269
|
</div>
|
|
270
270
|
<script src="prettify.js"></script>
|
|
271
271
|
<script>
|
package/coverage/lcov.info
CHANGED
|
@@ -58,6 +58,24 @@ BRF:17
|
|
|
58
58
|
BRH:0
|
|
59
59
|
end_of_record
|
|
60
60
|
TN:
|
|
61
|
+
SF:src/back.js
|
|
62
|
+
FNF:0
|
|
63
|
+
FNH:0
|
|
64
|
+
LF:0
|
|
65
|
+
LH:0
|
|
66
|
+
BRF:0
|
|
67
|
+
BRH:0
|
|
68
|
+
end_of_record
|
|
69
|
+
TN:
|
|
70
|
+
SF:src/client.js
|
|
71
|
+
FNF:0
|
|
72
|
+
FNH:0
|
|
73
|
+
LF:0
|
|
74
|
+
LH:0
|
|
75
|
+
BRF:0
|
|
76
|
+
BRH:0
|
|
77
|
+
end_of_record
|
|
78
|
+
TN:
|
|
61
79
|
SF:src/decorator-type-enforcement.js
|
|
62
80
|
FN:1,(anonymous_0)
|
|
63
81
|
FN:4,(anonymous_1)
|
|
@@ -458,6 +476,15 @@ BRF:8
|
|
|
458
476
|
BRH:0
|
|
459
477
|
end_of_record
|
|
460
478
|
TN:
|
|
479
|
+
SF:src/plugin.js
|
|
480
|
+
FNF:0
|
|
481
|
+
FNH:0
|
|
482
|
+
LF:0
|
|
483
|
+
LH:0
|
|
484
|
+
BRF:0
|
|
485
|
+
BRH:0
|
|
486
|
+
end_of_record
|
|
487
|
+
TN:
|
|
461
488
|
SF:src/v-model-name-match.js
|
|
462
489
|
FN:16,(anonymous_0)
|
|
463
490
|
FN:18,(anonymous_1)
|
package/dist/back.d.ts
ADDED
|
@@ -0,0 +1,160 @@
|
|
|
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;
|