@alexlit/config-eslint 90.0.0 → 91.0.0
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 +14 -29
- package/index.js +44 -8
- package/package.json +11 -53
- package/constants/allow-boolean-property-list.js +0 -38
- package/constants/boolean-prefixes.js +0 -11
- package/constants/english-verbs.js +0 -3368
- package/dictionaries/index.js +0 -467
- package/dictionaries/programming/bash.js +0 -25
- package/dictionaries/programming/django.js +0 -2345
- package/dictionaries/programming/elixir.js +0 -64
- package/dictionaries/programming/go.js +0 -7748
- package/dictionaries/programming/java.js +0 -33527
- package/dictionaries/programming/latex.js +0 -675
- package/dictionaries/programming/lua.js +0 -394
- package/dictionaries/programming/php.js +0 -9788
- package/dictionaries/programming/python.js +0 -367
- package/dictionaries/programming/ruby.js +0 -357
- package/dictionaries/programming/rust.js +0 -115
- package/dictionaries/programming/scala.js +0 -2755
- package/dictionaries/specialized/html-symbol-entities.js +0 -1118
- package/dictionaries/specialized/lorem-ipsum.js +0 -359
- package/legacy.js +0 -3
- package/plugins/array-func.js +0 -20
- package/plugins/compat.js +0 -7
- package/plugins/decorator-position.js +0 -15
- package/plugins/eslint-comments.js +0 -9
- package/plugins/etc.js +0 -13
- package/plugins/ext.js +0 -12
- package/plugins/filenames.js +0 -38
- package/plugins/import.js +0 -133
- package/plugins/jsdoc.js +0 -32
- package/plugins/jsx-a11y.js +0 -5
- package/plugins/lit-a11y.js +0 -5
- package/plugins/lit.js +0 -9
- package/plugins/more.js +0 -17
- package/plugins/no-await-in-promise.js +0 -5
- package/plugins/no-constructor-bind.js +0 -8
- package/plugins/no-explicit-type-exports.js +0 -7
- package/plugins/no-loops.js +0 -7
- package/plugins/no-secrets.js +0 -12
- package/plugins/no-use-extend-native.js +0 -5
- package/plugins/node.js +0 -5
- package/plugins/prettier.js +0 -24
- package/plugins/promise.js +0 -10
- package/plugins/regexp.js +0 -7
- package/plugins/security.js +0 -10
- package/plugins/simple-import-sort.js +0 -7
- package/plugins/sonar.js +0 -5
- package/plugins/sort-class-members.js +0 -298
- package/plugins/sort-destructure-keys.js +0 -10
- package/plugins/sort-keys-fix.js +0 -7
- package/plugins/spellcheck.js +0 -9
- package/plugins/sql.js +0 -26
- package/plugins/tanstack-query.js +0 -4
- package/plugins/testing-library.js +0 -9
- package/plugins/typescript-sort-keys.js +0 -5
- package/plugins/typescript.js +0 -157
- package/plugins/unicorn.js +0 -70
- package/plugins/unused-imports.js +0 -17
- package/plugins/vitest.js +0 -16
- package/plugins/vue-i18n.js +0 -34
- package/plugins/vue.js +0 -291
- package/plugins/vuejs-accessibility.js +0 -20
- package/plugins/wc.js +0 -5
- package/plugins/write-good-comments.js +0 -7
- package/utils/create-config.js +0 -377
- package/utils/extend-spell-checker.js +0 -23
|
@@ -1,359 +0,0 @@
|
|
|
1
|
-
module.exports = [
|
|
2
|
-
'ab',
|
|
3
|
-
'ac',
|
|
4
|
-
'accumsan',
|
|
5
|
-
'accusamus',
|
|
6
|
-
'accusantium',
|
|
7
|
-
'ad',
|
|
8
|
-
'adipisci',
|
|
9
|
-
'adipiscing',
|
|
10
|
-
'adipisicing',
|
|
11
|
-
'aenean',
|
|
12
|
-
'alias',
|
|
13
|
-
'aliqua',
|
|
14
|
-
'aliquam',
|
|
15
|
-
'aliquet',
|
|
16
|
-
'aliquid',
|
|
17
|
-
'aliquip',
|
|
18
|
-
'amet',
|
|
19
|
-
'anim',
|
|
20
|
-
'animi',
|
|
21
|
-
'ante',
|
|
22
|
-
'aperiam',
|
|
23
|
-
'aptent',
|
|
24
|
-
'architecto',
|
|
25
|
-
'arcu',
|
|
26
|
-
'asperiores',
|
|
27
|
-
'aspernatur',
|
|
28
|
-
'assumenda',
|
|
29
|
-
'at',
|
|
30
|
-
'atque',
|
|
31
|
-
'auctor',
|
|
32
|
-
'augue',
|
|
33
|
-
'aut',
|
|
34
|
-
'aute',
|
|
35
|
-
'autem',
|
|
36
|
-
'beatae',
|
|
37
|
-
'bibendum',
|
|
38
|
-
'blandit',
|
|
39
|
-
'blanditiis',
|
|
40
|
-
'cillum',
|
|
41
|
-
'class',
|
|
42
|
-
'commodi',
|
|
43
|
-
'commodo',
|
|
44
|
-
'condimentum',
|
|
45
|
-
'congue',
|
|
46
|
-
'consectetur',
|
|
47
|
-
'consequat',
|
|
48
|
-
'consequatur',
|
|
49
|
-
'consequuntur',
|
|
50
|
-
'conubia',
|
|
51
|
-
'convallis',
|
|
52
|
-
'corporis',
|
|
53
|
-
'corrupti',
|
|
54
|
-
'cras',
|
|
55
|
-
'cubilia',
|
|
56
|
-
'culpa',
|
|
57
|
-
'cum',
|
|
58
|
-
'cumque',
|
|
59
|
-
'cupidatat',
|
|
60
|
-
'cupiditate',
|
|
61
|
-
'curabitur',
|
|
62
|
-
'curae',
|
|
63
|
-
'cursus',
|
|
64
|
-
'dapibus',
|
|
65
|
-
'debitis',
|
|
66
|
-
'delectus',
|
|
67
|
-
'deleniti',
|
|
68
|
-
'deserunt',
|
|
69
|
-
'diam',
|
|
70
|
-
'dicta',
|
|
71
|
-
'dictum',
|
|
72
|
-
'dictumst',
|
|
73
|
-
'dignissim',
|
|
74
|
-
'dignissimos',
|
|
75
|
-
'dis',
|
|
76
|
-
'distinctio',
|
|
77
|
-
'do',
|
|
78
|
-
'dolor',
|
|
79
|
-
'dolore',
|
|
80
|
-
'dolorem',
|
|
81
|
-
'doloremque',
|
|
82
|
-
'dolores',
|
|
83
|
-
'doloribus',
|
|
84
|
-
'dolorum',
|
|
85
|
-
'donec',
|
|
86
|
-
'ducimus',
|
|
87
|
-
'dui',
|
|
88
|
-
'duis',
|
|
89
|
-
'ea',
|
|
90
|
-
'eaque',
|
|
91
|
-
'earum',
|
|
92
|
-
'efficitur',
|
|
93
|
-
'egestas',
|
|
94
|
-
'eget',
|
|
95
|
-
'eius',
|
|
96
|
-
'eiusmod',
|
|
97
|
-
'eleifend',
|
|
98
|
-
'elementum',
|
|
99
|
-
'eligendi',
|
|
100
|
-
'elit',
|
|
101
|
-
'enim',
|
|
102
|
-
'eos',
|
|
103
|
-
'erat',
|
|
104
|
-
'eros',
|
|
105
|
-
'error',
|
|
106
|
-
'esse',
|
|
107
|
-
'est',
|
|
108
|
-
'et',
|
|
109
|
-
'etiam',
|
|
110
|
-
'eu',
|
|
111
|
-
'euismod',
|
|
112
|
-
'eum',
|
|
113
|
-
'eveniet',
|
|
114
|
-
'ex',
|
|
115
|
-
'excepteur',
|
|
116
|
-
'excepturi',
|
|
117
|
-
'exercitation',
|
|
118
|
-
'exercitationem',
|
|
119
|
-
'expedita',
|
|
120
|
-
'explicabo',
|
|
121
|
-
'facere',
|
|
122
|
-
'facilis',
|
|
123
|
-
'facilisi',
|
|
124
|
-
'facilisis',
|
|
125
|
-
'fames',
|
|
126
|
-
'faucibus',
|
|
127
|
-
'felis',
|
|
128
|
-
'fermentum',
|
|
129
|
-
'feugiat',
|
|
130
|
-
'finibus',
|
|
131
|
-
'fringilla',
|
|
132
|
-
'fuga',
|
|
133
|
-
'fugiat',
|
|
134
|
-
'fugit',
|
|
135
|
-
'fusce',
|
|
136
|
-
'gravida',
|
|
137
|
-
'habitant',
|
|
138
|
-
'habitasse',
|
|
139
|
-
'hac',
|
|
140
|
-
'harum',
|
|
141
|
-
'hendrerit',
|
|
142
|
-
'hic',
|
|
143
|
-
'himenaeos',
|
|
144
|
-
'iaculis',
|
|
145
|
-
'id',
|
|
146
|
-
'illo',
|
|
147
|
-
'illum',
|
|
148
|
-
'impedit',
|
|
149
|
-
'imperdiet',
|
|
150
|
-
'in',
|
|
151
|
-
'inceptos',
|
|
152
|
-
'incididunt',
|
|
153
|
-
'incidunt',
|
|
154
|
-
'integer',
|
|
155
|
-
'interdum',
|
|
156
|
-
'inventore',
|
|
157
|
-
'ipsa',
|
|
158
|
-
'ipsam',
|
|
159
|
-
'ipsum',
|
|
160
|
-
'irure',
|
|
161
|
-
'iste',
|
|
162
|
-
'itaque',
|
|
163
|
-
'iure',
|
|
164
|
-
'iusto',
|
|
165
|
-
'justo',
|
|
166
|
-
'labore',
|
|
167
|
-
'laboriosam',
|
|
168
|
-
'laboris',
|
|
169
|
-
'laborum',
|
|
170
|
-
'lacinia',
|
|
171
|
-
'lacus',
|
|
172
|
-
'laoreet',
|
|
173
|
-
'laudantium',
|
|
174
|
-
'lectus',
|
|
175
|
-
'leo',
|
|
176
|
-
'libero',
|
|
177
|
-
'ligula',
|
|
178
|
-
'litora',
|
|
179
|
-
'lobortis',
|
|
180
|
-
'lorem',
|
|
181
|
-
'luctus',
|
|
182
|
-
'maecenas',
|
|
183
|
-
'magna',
|
|
184
|
-
'magnam',
|
|
185
|
-
'magni',
|
|
186
|
-
'magnis',
|
|
187
|
-
'maiores',
|
|
188
|
-
'malesuada',
|
|
189
|
-
'massa',
|
|
190
|
-
'mattis',
|
|
191
|
-
'mauris',
|
|
192
|
-
'maxime',
|
|
193
|
-
'maximus',
|
|
194
|
-
'metus',
|
|
195
|
-
'mi',
|
|
196
|
-
'minim',
|
|
197
|
-
'minima',
|
|
198
|
-
'minus',
|
|
199
|
-
'modi',
|
|
200
|
-
'molestiae',
|
|
201
|
-
'molestias',
|
|
202
|
-
'molestie',
|
|
203
|
-
'mollis',
|
|
204
|
-
'mollit',
|
|
205
|
-
'mollitia',
|
|
206
|
-
'montes',
|
|
207
|
-
'morbi',
|
|
208
|
-
'mus',
|
|
209
|
-
'nam',
|
|
210
|
-
'nascetur',
|
|
211
|
-
'natoque',
|
|
212
|
-
'natus',
|
|
213
|
-
'nec',
|
|
214
|
-
'necessitatibus',
|
|
215
|
-
'nemo',
|
|
216
|
-
'neque',
|
|
217
|
-
'nesciunt',
|
|
218
|
-
'netus',
|
|
219
|
-
'nibh',
|
|
220
|
-
'nihil',
|
|
221
|
-
'nisi',
|
|
222
|
-
'nisl',
|
|
223
|
-
'nobis',
|
|
224
|
-
'non',
|
|
225
|
-
'nostra',
|
|
226
|
-
'nostrud',
|
|
227
|
-
'nostrum',
|
|
228
|
-
'nulla',
|
|
229
|
-
'nullam',
|
|
230
|
-
'numquam',
|
|
231
|
-
'nunc',
|
|
232
|
-
'obcaecati',
|
|
233
|
-
'occaecat',
|
|
234
|
-
'odio',
|
|
235
|
-
'odit',
|
|
236
|
-
'officia',
|
|
237
|
-
'officiis',
|
|
238
|
-
'omnis',
|
|
239
|
-
'optio',
|
|
240
|
-
'orci',
|
|
241
|
-
'ornare',
|
|
242
|
-
'pariatur',
|
|
243
|
-
'parturient',
|
|
244
|
-
'pellentesque',
|
|
245
|
-
'penatibus',
|
|
246
|
-
'per',
|
|
247
|
-
'perferendis',
|
|
248
|
-
'perspiciatis',
|
|
249
|
-
'pharetra',
|
|
250
|
-
'phasellus',
|
|
251
|
-
'placeat',
|
|
252
|
-
'placerat',
|
|
253
|
-
'platea',
|
|
254
|
-
'porro',
|
|
255
|
-
'porta',
|
|
256
|
-
'porttitor',
|
|
257
|
-
'possimus',
|
|
258
|
-
'posuere',
|
|
259
|
-
'praesent',
|
|
260
|
-
'praesentium',
|
|
261
|
-
'pretium',
|
|
262
|
-
'primis',
|
|
263
|
-
'proident',
|
|
264
|
-
'proin',
|
|
265
|
-
'provident',
|
|
266
|
-
'pulvinar',
|
|
267
|
-
'purus',
|
|
268
|
-
'quae',
|
|
269
|
-
'quaerat',
|
|
270
|
-
'quam',
|
|
271
|
-
'quas',
|
|
272
|
-
'quasi',
|
|
273
|
-
'qui',
|
|
274
|
-
'quia',
|
|
275
|
-
'quibusdam',
|
|
276
|
-
'quidem',
|
|
277
|
-
'quis',
|
|
278
|
-
'quisquam',
|
|
279
|
-
'quisque',
|
|
280
|
-
'quo',
|
|
281
|
-
'quod',
|
|
282
|
-
'quos',
|
|
283
|
-
'ratione',
|
|
284
|
-
'recusandae',
|
|
285
|
-
'reiciendis',
|
|
286
|
-
'rem',
|
|
287
|
-
'repellat',
|
|
288
|
-
'repellendus',
|
|
289
|
-
'reprehenderit',
|
|
290
|
-
'repudiandae',
|
|
291
|
-
'rerum',
|
|
292
|
-
'rhoncus',
|
|
293
|
-
'ridiculus',
|
|
294
|
-
'risus',
|
|
295
|
-
'rutrum',
|
|
296
|
-
'saepe',
|
|
297
|
-
'sagittis',
|
|
298
|
-
'sapien',
|
|
299
|
-
'sapiente',
|
|
300
|
-
'scelerisque',
|
|
301
|
-
'sed',
|
|
302
|
-
'sem',
|
|
303
|
-
'semper',
|
|
304
|
-
'senectus',
|
|
305
|
-
'sequi',
|
|
306
|
-
'similique',
|
|
307
|
-
'sint',
|
|
308
|
-
'sit',
|
|
309
|
-
'sociis',
|
|
310
|
-
'sociosqu',
|
|
311
|
-
'sodales',
|
|
312
|
-
'sollicitudin',
|
|
313
|
-
'soluta',
|
|
314
|
-
'sunt',
|
|
315
|
-
'suscipit',
|
|
316
|
-
'suspendisse',
|
|
317
|
-
'taciti',
|
|
318
|
-
'tellus',
|
|
319
|
-
'tempor',
|
|
320
|
-
'tempora',
|
|
321
|
-
'tempore',
|
|
322
|
-
'temporibus',
|
|
323
|
-
'tempus',
|
|
324
|
-
'tenetur',
|
|
325
|
-
'tincidunt',
|
|
326
|
-
'torquent',
|
|
327
|
-
'tortor',
|
|
328
|
-
'totam',
|
|
329
|
-
'tristique',
|
|
330
|
-
'turpis',
|
|
331
|
-
'ullam',
|
|
332
|
-
'ullamco',
|
|
333
|
-
'ullamcorper',
|
|
334
|
-
'ultrices',
|
|
335
|
-
'ultricies',
|
|
336
|
-
'unde',
|
|
337
|
-
'urna',
|
|
338
|
-
'ut',
|
|
339
|
-
'varius',
|
|
340
|
-
'vehicula',
|
|
341
|
-
'vel',
|
|
342
|
-
'velit',
|
|
343
|
-
'venenatis',
|
|
344
|
-
'veniam',
|
|
345
|
-
'veritatis',
|
|
346
|
-
'vero',
|
|
347
|
-
'vestibulum',
|
|
348
|
-
'vitae',
|
|
349
|
-
'vivamus',
|
|
350
|
-
'viverra',
|
|
351
|
-
'voluptas',
|
|
352
|
-
'voluptate',
|
|
353
|
-
'voluptatem',
|
|
354
|
-
'voluptates',
|
|
355
|
-
'voluptatibus',
|
|
356
|
-
'voluptatum',
|
|
357
|
-
'volutpat',
|
|
358
|
-
'vulputate',
|
|
359
|
-
];
|
package/legacy.js
DELETED
package/plugins/array-func.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/* eslint-disable unicorn/prevent-abbreviations */
|
|
2
|
-
module.exports = {
|
|
3
|
-
extends: ['plugin:array-func/all'],
|
|
4
|
-
|
|
5
|
-
plugins: ['array-func'],
|
|
6
|
-
|
|
7
|
-
rules: {
|
|
8
|
-
// delegate to eslint-plugin-unicorn
|
|
9
|
-
'array-func/no-unnecessary-this-arg': 'off',
|
|
10
|
-
|
|
11
|
-
// delegate to eslint-plugin-unicorn
|
|
12
|
-
'array-func/prefer-array-from': 'off',
|
|
13
|
-
|
|
14
|
-
// delegate to eslint-plugin-unicorn
|
|
15
|
-
'array-func/prefer-flat': 'off',
|
|
16
|
-
|
|
17
|
-
// delegate to eslint-plugin-unicorn
|
|
18
|
-
'array-func/prefer-flat-map': 'off',
|
|
19
|
-
},
|
|
20
|
-
};
|
package/plugins/compat.js
DELETED
package/plugins/etc.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
extends: ['plugin:etc/recommended'],
|
|
3
|
-
|
|
4
|
-
plugins: ['etc'],
|
|
5
|
-
|
|
6
|
-
rules: {
|
|
7
|
-
'etc/no-implicit-any-catch': 'off',
|
|
8
|
-
'etc/no-misused-generics': 'off',
|
|
9
|
-
'etc/no-t': 'error',
|
|
10
|
-
'etc/prefer-less-than': 'off',
|
|
11
|
-
'etc/underscore-internal': 'error',
|
|
12
|
-
},
|
|
13
|
-
};
|
package/plugins/ext.js
DELETED
package/plugins/filenames.js
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/* eslint-disable regexp/no-super-linear-backtracking */
|
|
2
|
-
module.exports = {
|
|
3
|
-
overrides: [
|
|
4
|
-
{
|
|
5
|
-
files: ['**/layouts/**/*.vue'],
|
|
6
|
-
|
|
7
|
-
rules: {
|
|
8
|
-
'filenames/match-exported': ['error', 'kebab'],
|
|
9
|
-
},
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
files: ['**/pages/**/*.vue'],
|
|
13
|
-
|
|
14
|
-
rules: {
|
|
15
|
-
'filenames/match-exported': ['error', 'kebab', /^_/],
|
|
16
|
-
},
|
|
17
|
-
},
|
|
18
|
-
// off
|
|
19
|
-
{
|
|
20
|
-
files: [
|
|
21
|
-
'**/.*.*',
|
|
22
|
-
'**/pages/**/{0,1,2,3,4,5,6,7,8,9}*.vue',
|
|
23
|
-
'**/pages/index.vue',
|
|
24
|
-
],
|
|
25
|
-
|
|
26
|
-
rules: {
|
|
27
|
-
'filenames/match-exported': 'off',
|
|
28
|
-
},
|
|
29
|
-
},
|
|
30
|
-
],
|
|
31
|
-
|
|
32
|
-
plugins: ['filenames'],
|
|
33
|
-
|
|
34
|
-
rules: {
|
|
35
|
-
'filenames/match-exported': ['error', 'kebab', /\.([a-z-]+\.?)+$/],
|
|
36
|
-
'filenames/match-regex': ['error', /^(\.?[\da-z-]+)+$/, true],
|
|
37
|
-
},
|
|
38
|
-
};
|
package/plugins/import.js
DELETED
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
/* eslint-disable no-undef */
|
|
2
|
-
module.exports = {
|
|
3
|
-
extends: [
|
|
4
|
-
'plugin:import/errors',
|
|
5
|
-
'plugin:import/warnings',
|
|
6
|
-
'plugin:import/typescript',
|
|
7
|
-
],
|
|
8
|
-
|
|
9
|
-
overrides: [
|
|
10
|
-
{
|
|
11
|
-
files: [
|
|
12
|
-
'**/.*/**',
|
|
13
|
-
'**/types/**',
|
|
14
|
-
'*.d.ts',
|
|
15
|
-
'*.stories.js',
|
|
16
|
-
'*.stories.ts',
|
|
17
|
-
'.*.js',
|
|
18
|
-
'.*.ts',
|
|
19
|
-
],
|
|
20
|
-
|
|
21
|
-
rules: {
|
|
22
|
-
'import/no-extraneous-dependencies': 'off',
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
],
|
|
26
|
-
|
|
27
|
-
plugins: ['import'],
|
|
28
|
-
|
|
29
|
-
rules: {
|
|
30
|
-
'import/extensions': [
|
|
31
|
-
'error',
|
|
32
|
-
'ignorePackages',
|
|
33
|
-
{
|
|
34
|
-
js: 'never',
|
|
35
|
-
jsx: 'never',
|
|
36
|
-
ts: 'never',
|
|
37
|
-
tsx: 'never',
|
|
38
|
-
},
|
|
39
|
-
],
|
|
40
|
-
|
|
41
|
-
'import/first': 'error',
|
|
42
|
-
'import/no-mutable-exports': 'error',
|
|
43
|
-
|
|
44
|
-
'import/order': [
|
|
45
|
-
'error',
|
|
46
|
-
{
|
|
47
|
-
alphabetize: { caseInsensitive: true, order: 'asc' },
|
|
48
|
-
|
|
49
|
-
groups: [
|
|
50
|
-
'builtin',
|
|
51
|
-
'external',
|
|
52
|
-
'internal',
|
|
53
|
-
'parent',
|
|
54
|
-
'sibling',
|
|
55
|
-
'index',
|
|
56
|
-
],
|
|
57
|
-
|
|
58
|
-
'newlines-between': 'always',
|
|
59
|
-
|
|
60
|
-
pathGroups: [
|
|
61
|
-
// Nuxt
|
|
62
|
-
{ group: 'internal', pattern: '#**', position: 'after' },
|
|
63
|
-
// Structure
|
|
64
|
-
{ group: 'internal', pattern: '{@,~}/api/**', position: 'after' },
|
|
65
|
-
{ group: 'internal', pattern: '{@,~}/core/**', position: 'after' },
|
|
66
|
-
{
|
|
67
|
-
group: 'internal',
|
|
68
|
-
pattern: '{@,~}/features/**',
|
|
69
|
-
position: 'after',
|
|
70
|
-
},
|
|
71
|
-
{ group: 'internal', pattern: '{@,~}/modules/**', position: 'after' },
|
|
72
|
-
// FSD
|
|
73
|
-
{
|
|
74
|
-
group: 'internal',
|
|
75
|
-
pattern: '{@,~}/processes/**',
|
|
76
|
-
position: 'after',
|
|
77
|
-
},
|
|
78
|
-
{ group: 'internal', pattern: '{@,~}/pages/**', position: 'after' },
|
|
79
|
-
{ group: 'internal', pattern: '{@,~}/widgets/**', position: 'after' },
|
|
80
|
-
{
|
|
81
|
-
group: 'internal',
|
|
82
|
-
pattern: '{@,~}/features/**',
|
|
83
|
-
position: 'after',
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
group: 'internal',
|
|
87
|
-
pattern: '{@,~}/entities/**',
|
|
88
|
-
position: 'after',
|
|
89
|
-
},
|
|
90
|
-
{ group: 'internal', pattern: '{@,~}/shared/**', position: 'after' },
|
|
91
|
-
],
|
|
92
|
-
|
|
93
|
-
pathGroupsExcludedImportTypes: ['builtin'],
|
|
94
|
-
},
|
|
95
|
-
],
|
|
96
|
-
|
|
97
|
-
'import/prefer-default-export': 'off',
|
|
98
|
-
},
|
|
99
|
-
|
|
100
|
-
settings: {
|
|
101
|
-
'import/extensions': ['.js', '.mjs', '.jsx', '.ts', '.tsx', '.d.ts'],
|
|
102
|
-
'import/external-module-folders': ['node_modules', 'node_modules/@types'],
|
|
103
|
-
|
|
104
|
-
'import/parsers': {
|
|
105
|
-
'@typescript-eslint/parser': ['.ts', '.tsx', '.d.ts'],
|
|
106
|
-
},
|
|
107
|
-
|
|
108
|
-
'import/resolver': {
|
|
109
|
-
alias: {
|
|
110
|
-
extensions: ['.js', '.jsx', '.ts', '.tsx', '.d.ts'],
|
|
111
|
-
|
|
112
|
-
map: [
|
|
113
|
-
['@', './src'],
|
|
114
|
-
['~', './src'],
|
|
115
|
-
['~~', './'],
|
|
116
|
-
],
|
|
117
|
-
},
|
|
118
|
-
|
|
119
|
-
node: {
|
|
120
|
-
extensions: [
|
|
121
|
-
'.cjs',
|
|
122
|
-
'.cts',
|
|
123
|
-
'.d.ts',
|
|
124
|
-
'.js',
|
|
125
|
-
'.json',
|
|
126
|
-
'.mjs',
|
|
127
|
-
'.mts',
|
|
128
|
-
'.ts',
|
|
129
|
-
],
|
|
130
|
-
},
|
|
131
|
-
},
|
|
132
|
-
},
|
|
133
|
-
};
|
package/plugins/jsdoc.js
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
extends: ['plugin:jsdoc/recommended'],
|
|
3
|
-
|
|
4
|
-
plugins: ['jsdoc'],
|
|
5
|
-
|
|
6
|
-
rules: {
|
|
7
|
-
'jsdoc/no-undefined-types': 'off',
|
|
8
|
-
|
|
9
|
-
'jsdoc/require-jsdoc': [
|
|
10
|
-
'warn',
|
|
11
|
-
{
|
|
12
|
-
enableFixer: false,
|
|
13
|
-
|
|
14
|
-
require: {
|
|
15
|
-
ArrowFunctionExpression: false,
|
|
16
|
-
ClassDeclaration: true,
|
|
17
|
-
ClassExpression: false,
|
|
18
|
-
FunctionDeclaration: false,
|
|
19
|
-
FunctionExpression: false,
|
|
20
|
-
MethodDefinition: false,
|
|
21
|
-
},
|
|
22
|
-
},
|
|
23
|
-
],
|
|
24
|
-
|
|
25
|
-
'jsdoc/require-param-description': 'off',
|
|
26
|
-
'jsdoc/require-param-type': 'off',
|
|
27
|
-
'jsdoc/require-returns': 'off',
|
|
28
|
-
'jsdoc/require-returns-description': 'off',
|
|
29
|
-
'jsdoc/require-returns-type': 'off',
|
|
30
|
-
'jsdoc/tag-lines': 'off',
|
|
31
|
-
},
|
|
32
|
-
};
|
package/plugins/jsx-a11y.js
DELETED
package/plugins/lit-a11y.js
DELETED
package/plugins/lit.js
DELETED
package/plugins/more.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
overrides: [
|
|
3
|
-
{
|
|
4
|
-
files: ['**/*.{test,spec}.{js,ts}'],
|
|
5
|
-
|
|
6
|
-
rules: {
|
|
7
|
-
'more/no-numeric-endings-for-variables': 'off',
|
|
8
|
-
},
|
|
9
|
-
},
|
|
10
|
-
],
|
|
11
|
-
|
|
12
|
-
plugins: ['more'],
|
|
13
|
-
|
|
14
|
-
rules: {
|
|
15
|
-
'more/no-numeric-endings-for-variables': 'error',
|
|
16
|
-
},
|
|
17
|
-
};
|