@alexlit/config-eslint 41.0.2 → 41.1.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/.eslintrc.js +1 -1
- package/CHANGELOG.md +2 -0
- package/dictionaries/default.js +16 -0
- package/package.json +2 -2
- package/plugins/typescript/allow-boolean-property-list.const.js +37 -0
- package/plugins/typescript/boolean-prefixes.const.js +11 -0
- package/plugins/typescript/english-verbs.const.js +3359 -0
- package/plugins/typescript/index.js +167 -0
- package/plugins/typescript.js +0 -1318
package/.eslintrc.js
CHANGED
|
@@ -48,7 +48,7 @@ module.exports = defineConfig({
|
|
|
48
48
|
'./plugins/spellcheck',
|
|
49
49
|
'./plugins/sql',
|
|
50
50
|
'./plugins/testing-library',
|
|
51
|
-
'./plugins/typescript',
|
|
51
|
+
'./plugins/typescript/index',
|
|
52
52
|
'./plugins/typescript-sort-keys',
|
|
53
53
|
'./plugins/unicorn',
|
|
54
54
|
'./plugins/unused-imports',
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# [41.1.0](https://github.com/alex-lit/config-eslint/compare/v41.0.2...v41.1.0) (2022-01-13)
|
|
2
|
+
|
|
1
3
|
## [41.0.2](https://github.com/alex-lit/config-eslint/compare/v41.0.1...v41.0.2) (2022-01-13)
|
|
2
4
|
|
|
3
5
|
## [41.0.1](https://github.com/alex-lit/config-eslint/compare/v41.0.0...v41.0.1) (2022-01-13)
|
package/dictionaries/default.js
CHANGED
|
@@ -15,14 +15,18 @@ module.exports = [
|
|
|
15
15
|
'allowfullscreen',
|
|
16
16
|
'allowpaymentrequest',
|
|
17
17
|
'angularjs',
|
|
18
|
+
'annualize',
|
|
19
|
+
'annunciate',
|
|
18
20
|
'apollo',
|
|
19
21
|
'applescript',
|
|
22
|
+
'aromatize',
|
|
20
23
|
'asyncgenerator',
|
|
21
24
|
'asynciterable',
|
|
22
25
|
'atomtest',
|
|
23
26
|
'autofocus',
|
|
24
27
|
'autoplay',
|
|
25
28
|
'averta',
|
|
29
|
+
'aviate',
|
|
26
30
|
'avif',
|
|
27
31
|
'axios',
|
|
28
32
|
'backtick',
|
|
@@ -71,6 +75,7 @@ module.exports = [
|
|
|
71
75
|
'contextmenu',
|
|
72
76
|
'cors',
|
|
73
77
|
'cpay',
|
|
78
|
+
'crossexamine',
|
|
74
79
|
'crossorigin',
|
|
75
80
|
'cryptocurrency',
|
|
76
81
|
'csstree',
|
|
@@ -88,9 +93,11 @@ module.exports = [
|
|
|
88
93
|
'destructured',
|
|
89
94
|
'devgates',
|
|
90
95
|
'devtools',
|
|
96
|
+
'dilapidate',
|
|
91
97
|
'dinoql',
|
|
92
98
|
'directus',
|
|
93
99
|
'disqus',
|
|
100
|
+
'distain',
|
|
94
101
|
'dogecoin',
|
|
95
102
|
'dotenv',
|
|
96
103
|
'dribbble',
|
|
@@ -102,6 +109,7 @@ module.exports = [
|
|
|
102
109
|
'enablejsapi',
|
|
103
110
|
'encipherment',
|
|
104
111
|
'endregion',
|
|
112
|
+
'enquire',
|
|
105
113
|
'eqeqeq',
|
|
106
114
|
'erc20',
|
|
107
115
|
'esbenp',
|
|
@@ -135,6 +143,7 @@ module.exports = [
|
|
|
135
143
|
'gravatar',
|
|
136
144
|
'greasemonkey',
|
|
137
145
|
'grecaptcha',
|
|
146
|
+
'handwrite',
|
|
138
147
|
'htmllint',
|
|
139
148
|
'htmllintrc',
|
|
140
149
|
'huskyrc',
|
|
@@ -142,6 +151,7 @@ module.exports = [
|
|
|
142
151
|
'iife',
|
|
143
152
|
'illtreat',
|
|
144
153
|
'imask',
|
|
154
|
+
'indebt',
|
|
145
155
|
'inferrable',
|
|
146
156
|
'inlined',
|
|
147
157
|
'inmemory',
|
|
@@ -260,6 +270,7 @@ module.exports = [
|
|
|
260
270
|
'preloader',
|
|
261
271
|
'prismjs',
|
|
262
272
|
'profiler',
|
|
273
|
+
'prophesize',
|
|
263
274
|
'prototypejs',
|
|
264
275
|
'proxying',
|
|
265
276
|
'qiwi',
|
|
@@ -301,6 +312,7 @@ module.exports = [
|
|
|
301
312
|
'srcs',
|
|
302
313
|
'stepik',
|
|
303
314
|
'storysource',
|
|
315
|
+
'strategize',
|
|
304
316
|
'stringified',
|
|
305
317
|
'styl',
|
|
306
318
|
'stylelint',
|
|
@@ -310,6 +322,7 @@ module.exports = [
|
|
|
310
322
|
'sumsub',
|
|
311
323
|
'supabase',
|
|
312
324
|
'svgstore',
|
|
325
|
+
'systemize',
|
|
313
326
|
'tagless',
|
|
314
327
|
'taobao',
|
|
315
328
|
'tcsbank',
|
|
@@ -331,6 +344,7 @@ module.exports = [
|
|
|
331
344
|
'txid',
|
|
332
345
|
'typedarrays',
|
|
333
346
|
'uids',
|
|
347
|
+
'unarm',
|
|
334
348
|
'unauthorised',
|
|
335
349
|
'unescaped',
|
|
336
350
|
'unfollow',
|
|
@@ -353,6 +367,7 @@ module.exports = [
|
|
|
353
367
|
'vuetify',
|
|
354
368
|
'vuetifyjs',
|
|
355
369
|
'vuex',
|
|
370
|
+
'waterlog',
|
|
356
371
|
'wavatar',
|
|
357
372
|
'webextensions',
|
|
358
373
|
'webkit',
|
|
@@ -375,6 +390,7 @@ module.exports = [
|
|
|
375
390
|
'writeable',
|
|
376
391
|
'wubi',
|
|
377
392
|
'xlink',
|
|
393
|
+
'xray',
|
|
378
394
|
'yandex',
|
|
379
395
|
'yandexmoney',
|
|
380
396
|
'yastatic',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexlit/config-eslint",
|
|
3
|
-
"version": "41.0
|
|
3
|
+
"version": "41.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "eslint config",
|
|
6
6
|
"keywords": [
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"eslint-plugin-sort-keys-fix": "^1.1.2",
|
|
85
85
|
"eslint-plugin-spellcheck": "^0.0.19",
|
|
86
86
|
"eslint-plugin-sql": "^2.1.0",
|
|
87
|
-
"eslint-plugin-svelte3": "^3.
|
|
87
|
+
"eslint-plugin-svelte3": "^3.4.0",
|
|
88
88
|
"eslint-plugin-testing-library": "^5.0.3",
|
|
89
89
|
"eslint-plugin-typescript-sort-keys": "^2.1.0",
|
|
90
90
|
"eslint-plugin-unicorn": "^40.0.0",
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
module.exports = [
|
|
2
|
+
// html attributes
|
|
3
|
+
'allowfullscreen',
|
|
4
|
+
'allowpaymentrequest',
|
|
5
|
+
'async',
|
|
6
|
+
'autofocus',
|
|
7
|
+
'autoplay',
|
|
8
|
+
'checked',
|
|
9
|
+
'controls',
|
|
10
|
+
'default',
|
|
11
|
+
'defer',
|
|
12
|
+
'disabled',
|
|
13
|
+
'formnovalidate',
|
|
14
|
+
'hidden',
|
|
15
|
+
'ismap',
|
|
16
|
+
'itemscope',
|
|
17
|
+
'multiple',
|
|
18
|
+
'muted',
|
|
19
|
+
'nomodule',
|
|
20
|
+
'novalidate',
|
|
21
|
+
'open',
|
|
22
|
+
'playsinline',
|
|
23
|
+
'readonly',
|
|
24
|
+
'required',
|
|
25
|
+
'reversed',
|
|
26
|
+
'selected',
|
|
27
|
+
'truespeed',
|
|
28
|
+
|
|
29
|
+
// vuex store module registration
|
|
30
|
+
'namespaced',
|
|
31
|
+
|
|
32
|
+
// other
|
|
33
|
+
'enabled',
|
|
34
|
+
'invalid',
|
|
35
|
+
'valid',
|
|
36
|
+
'value',
|
|
37
|
+
];
|