@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
package/plugins/no-loops.js
DELETED
package/plugins/no-secrets.js
DELETED
package/plugins/node.js
DELETED
package/plugins/prettier.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
extends: ['prettier'],
|
|
3
|
-
|
|
4
|
-
// plugins: ['prettier'],
|
|
5
|
-
|
|
6
|
-
rules: {
|
|
7
|
-
// 'prettier/prettier': 'error',
|
|
8
|
-
|
|
9
|
-
/** Fix for prettier/vue */
|
|
10
|
-
'vue/html-self-closing': [
|
|
11
|
-
'error',
|
|
12
|
-
{
|
|
13
|
-
html: {
|
|
14
|
-
component: 'always',
|
|
15
|
-
normal: 'never',
|
|
16
|
-
void: 'always',
|
|
17
|
-
},
|
|
18
|
-
|
|
19
|
-
math: 'always',
|
|
20
|
-
svg: 'always',
|
|
21
|
-
},
|
|
22
|
-
],
|
|
23
|
-
},
|
|
24
|
-
};
|
package/plugins/promise.js
DELETED
package/plugins/regexp.js
DELETED
package/plugins/security.js
DELETED
package/plugins/sonar.js
DELETED
|
@@ -1,298 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
plugins: ['sort-class-members'],
|
|
3
|
-
|
|
4
|
-
rules: {
|
|
5
|
-
'sort-class-members/sort-class-members': [
|
|
6
|
-
'error',
|
|
7
|
-
{
|
|
8
|
-
accessorPairPositioning: 'getThenSet',
|
|
9
|
-
|
|
10
|
-
groups: {
|
|
11
|
-
'async-conventional-private-methods': [
|
|
12
|
-
{
|
|
13
|
-
async: true,
|
|
14
|
-
name: '/_.+/',
|
|
15
|
-
sort: 'alphabetical',
|
|
16
|
-
type: 'method',
|
|
17
|
-
},
|
|
18
|
-
],
|
|
19
|
-
|
|
20
|
-
emits: [
|
|
21
|
-
{
|
|
22
|
-
name: '/emit[A-Z].*/',
|
|
23
|
-
sort: 'alphabetical',
|
|
24
|
-
type: 'method',
|
|
25
|
-
},
|
|
26
|
-
],
|
|
27
|
-
|
|
28
|
-
injects: [
|
|
29
|
-
{
|
|
30
|
-
groupByDecorator: 'Inject',
|
|
31
|
-
sort: 'alphabetical',
|
|
32
|
-
type: 'property',
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
groupByDecorator: 'InjectReactive',
|
|
36
|
-
sort: 'alphabetical',
|
|
37
|
-
type: 'property',
|
|
38
|
-
},
|
|
39
|
-
],
|
|
40
|
-
|
|
41
|
-
models: [
|
|
42
|
-
{
|
|
43
|
-
groupByDecorator: 'Model',
|
|
44
|
-
sort: 'alphabetical',
|
|
45
|
-
type: 'property',
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
groupByDecorator: 'ModelSync',
|
|
49
|
-
sort: 'alphabetical',
|
|
50
|
-
type: 'property',
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
groupByDecorator: 'VModel',
|
|
54
|
-
sort: 'alphabetical',
|
|
55
|
-
type: 'property',
|
|
56
|
-
},
|
|
57
|
-
],
|
|
58
|
-
|
|
59
|
-
props: [
|
|
60
|
-
{
|
|
61
|
-
groupByDecorator: 'Prop',
|
|
62
|
-
sort: 'alphabetical',
|
|
63
|
-
type: 'property',
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
groupByDecorator: 'PropSync',
|
|
67
|
-
sort: 'alphabetical',
|
|
68
|
-
type: 'property',
|
|
69
|
-
},
|
|
70
|
-
],
|
|
71
|
-
|
|
72
|
-
provides: [
|
|
73
|
-
{
|
|
74
|
-
groupByDecorator: 'Provide',
|
|
75
|
-
sort: 'alphabetical',
|
|
76
|
-
type: 'property',
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
groupByDecorator: 'ProvideReactive',
|
|
80
|
-
sort: 'alphabetical',
|
|
81
|
-
type: 'property',
|
|
82
|
-
},
|
|
83
|
-
],
|
|
84
|
-
|
|
85
|
-
refs: [
|
|
86
|
-
{
|
|
87
|
-
groupByDecorator: 'Ref',
|
|
88
|
-
sort: 'alphabetical',
|
|
89
|
-
type: 'property',
|
|
90
|
-
},
|
|
91
|
-
],
|
|
92
|
-
|
|
93
|
-
'sorted-methods': [
|
|
94
|
-
{
|
|
95
|
-
sort: 'alphabetical',
|
|
96
|
-
type: 'method',
|
|
97
|
-
},
|
|
98
|
-
],
|
|
99
|
-
|
|
100
|
-
'sorted-properties': [
|
|
101
|
-
{
|
|
102
|
-
sort: 'alphabetical',
|
|
103
|
-
type: 'property',
|
|
104
|
-
},
|
|
105
|
-
],
|
|
106
|
-
|
|
107
|
-
'static-accessor-pairs': [
|
|
108
|
-
{
|
|
109
|
-
accessorPair: true,
|
|
110
|
-
sort: 'alphabetical',
|
|
111
|
-
static: true,
|
|
112
|
-
},
|
|
113
|
-
],
|
|
114
|
-
|
|
115
|
-
'static-arrow-function-properties': [
|
|
116
|
-
{
|
|
117
|
-
propertyType: 'ArrowFunctionExpression',
|
|
118
|
-
sort: 'alphabetical',
|
|
119
|
-
static: true,
|
|
120
|
-
},
|
|
121
|
-
],
|
|
122
|
-
|
|
123
|
-
'static-async-conventional-private-methods': [
|
|
124
|
-
{
|
|
125
|
-
async: true,
|
|
126
|
-
name: '/_.+/',
|
|
127
|
-
sort: 'alphabetical',
|
|
128
|
-
static: true,
|
|
129
|
-
type: 'method',
|
|
130
|
-
},
|
|
131
|
-
],
|
|
132
|
-
|
|
133
|
-
'static-async-methods': [
|
|
134
|
-
{
|
|
135
|
-
async: true,
|
|
136
|
-
sort: 'alphabetical',
|
|
137
|
-
static: true,
|
|
138
|
-
type: 'method',
|
|
139
|
-
},
|
|
140
|
-
],
|
|
141
|
-
|
|
142
|
-
'static-conventional-private-methods': [
|
|
143
|
-
{
|
|
144
|
-
name: '/_.+/',
|
|
145
|
-
sort: 'alphabetical',
|
|
146
|
-
static: true,
|
|
147
|
-
type: 'method',
|
|
148
|
-
},
|
|
149
|
-
],
|
|
150
|
-
|
|
151
|
-
'static-conventional-private-properties': [
|
|
152
|
-
{
|
|
153
|
-
name: '/_.+/',
|
|
154
|
-
sort: 'alphabetical',
|
|
155
|
-
static: true,
|
|
156
|
-
type: 'property',
|
|
157
|
-
},
|
|
158
|
-
],
|
|
159
|
-
|
|
160
|
-
'static-getters': [
|
|
161
|
-
{
|
|
162
|
-
kind: 'get',
|
|
163
|
-
sort: 'alphabetical',
|
|
164
|
-
static: true,
|
|
165
|
-
},
|
|
166
|
-
],
|
|
167
|
-
|
|
168
|
-
'static-setters': [
|
|
169
|
-
{
|
|
170
|
-
kind: 'set',
|
|
171
|
-
sort: 'alphabetical',
|
|
172
|
-
static: true,
|
|
173
|
-
},
|
|
174
|
-
],
|
|
175
|
-
|
|
176
|
-
'vue-activated': [{ name: 'activated', type: 'method' }],
|
|
177
|
-
|
|
178
|
-
'vue-before-create': [{ name: 'beforeCreate', type: 'method' }],
|
|
179
|
-
|
|
180
|
-
'vue-before-mount': [{ name: 'beforeMount', type: 'method' }],
|
|
181
|
-
|
|
182
|
-
'vue-before-unmount': [{ name: 'beforeUnmount', type: 'method' }],
|
|
183
|
-
|
|
184
|
-
'vue-before-update': [{ name: 'beforeUpdate', type: 'method' }],
|
|
185
|
-
|
|
186
|
-
'vue-created': [{ name: 'created', type: 'method' }],
|
|
187
|
-
|
|
188
|
-
'vue-deactivated': [{ name: 'deactivated', type: 'method' }],
|
|
189
|
-
|
|
190
|
-
'vue-error-captured': [{ name: 'errorCaptured', type: 'method' }],
|
|
191
|
-
|
|
192
|
-
'vue-mounted': [{ name: 'mounted', type: 'method' }],
|
|
193
|
-
|
|
194
|
-
'vue-render-tracked': [{ name: 'renderTracked', type: 'method' }],
|
|
195
|
-
|
|
196
|
-
'vue-render-triggered': [{ name: 'renderTriggered', type: 'method' }],
|
|
197
|
-
|
|
198
|
-
'vue-unmounted': [{ name: 'unmounted', type: 'method' }],
|
|
199
|
-
|
|
200
|
-
'vue-updated': [{ name: 'updated', type: 'method' }],
|
|
201
|
-
|
|
202
|
-
vuex: [
|
|
203
|
-
{
|
|
204
|
-
groupByDecorator: 'namespace',
|
|
205
|
-
sort: 'alphabetical',
|
|
206
|
-
type: 'property',
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
groupByDecorator: 'State',
|
|
210
|
-
sort: 'alphabetical',
|
|
211
|
-
type: 'property',
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
groupByDecorator: 'Getter',
|
|
215
|
-
sort: 'alphabetical',
|
|
216
|
-
type: 'property',
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
groupByDecorator: 'Mutation',
|
|
220
|
-
sort: 'alphabetical',
|
|
221
|
-
type: 'property',
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
groupByDecorator: 'Action',
|
|
225
|
-
sort: 'alphabetical',
|
|
226
|
-
type: 'property',
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
groupByDecorator: '(namespace',
|
|
230
|
-
sort: 'alphabetical',
|
|
231
|
-
type: 'property',
|
|
232
|
-
},
|
|
233
|
-
],
|
|
234
|
-
},
|
|
235
|
-
|
|
236
|
-
order: [
|
|
237
|
-
// static
|
|
238
|
-
'[static-properties]',
|
|
239
|
-
'[static-arrow-function-properties]',
|
|
240
|
-
'[static-accessor-pairs]',
|
|
241
|
-
'[static-getters]',
|
|
242
|
-
'[static-setters]',
|
|
243
|
-
'[static-methods]',
|
|
244
|
-
'[static-async-methods]',
|
|
245
|
-
|
|
246
|
-
// decorated properties
|
|
247
|
-
'[vuex]',
|
|
248
|
-
'[injects]',
|
|
249
|
-
'[props]',
|
|
250
|
-
'[models]',
|
|
251
|
-
'[provides]',
|
|
252
|
-
'[emits]',
|
|
253
|
-
'[refs]',
|
|
254
|
-
|
|
255
|
-
// properties
|
|
256
|
-
'[sorted-properties]',
|
|
257
|
-
'[arrow-function-properties]',
|
|
258
|
-
|
|
259
|
-
// constructor
|
|
260
|
-
'constructor',
|
|
261
|
-
|
|
262
|
-
// accessor
|
|
263
|
-
'[accessor-pairs]',
|
|
264
|
-
'[getters]',
|
|
265
|
-
'[setters]',
|
|
266
|
-
|
|
267
|
-
// vue lifecycle hooks
|
|
268
|
-
'[vue-before-create]',
|
|
269
|
-
'[vue-created]',
|
|
270
|
-
'[vue-before-mount]',
|
|
271
|
-
'[vue-mounted]',
|
|
272
|
-
'[vue-before-update]',
|
|
273
|
-
'[vue-updated]',
|
|
274
|
-
'[vue-before-unmount]',
|
|
275
|
-
'[vue-unmounted]',
|
|
276
|
-
'[vue-error-captured]',
|
|
277
|
-
'[vue-render-tracked]',
|
|
278
|
-
'[vue-render-triggered]',
|
|
279
|
-
'[vue-activated]',
|
|
280
|
-
|
|
281
|
-
// methods
|
|
282
|
-
'[sorted-methods]',
|
|
283
|
-
'[async-methods]',
|
|
284
|
-
|
|
285
|
-
// private static
|
|
286
|
-
'[static-conventional-private-properties]',
|
|
287
|
-
'[static-conventional-private-methods]',
|
|
288
|
-
'[static-async-conventional-private-methods]',
|
|
289
|
-
|
|
290
|
-
// private
|
|
291
|
-
'[conventional-private-properties]',
|
|
292
|
-
'[conventional-private-methods]',
|
|
293
|
-
'[async-conventional-private-methods]',
|
|
294
|
-
],
|
|
295
|
-
},
|
|
296
|
-
],
|
|
297
|
-
},
|
|
298
|
-
};
|
package/plugins/sort-keys-fix.js
DELETED
package/plugins/spellcheck.js
DELETED
package/plugins/sql.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
plugins: ['sql'],
|
|
3
|
-
|
|
4
|
-
rules: {
|
|
5
|
-
'sql/format': [
|
|
6
|
-
'warn',
|
|
7
|
-
|
|
8
|
-
{
|
|
9
|
-
ignoreExpressions: false,
|
|
10
|
-
ignoreInline: false,
|
|
11
|
-
ignoreStartWithNewLine: true,
|
|
12
|
-
ignoreTagless: false,
|
|
13
|
-
},
|
|
14
|
-
|
|
15
|
-
{ spaces: 2 },
|
|
16
|
-
],
|
|
17
|
-
|
|
18
|
-
'sql/no-unsafe-query': [
|
|
19
|
-
'warn',
|
|
20
|
-
|
|
21
|
-
{
|
|
22
|
-
allowLiteral: false,
|
|
23
|
-
},
|
|
24
|
-
],
|
|
25
|
-
},
|
|
26
|
-
};
|
package/plugins/typescript.js
DELETED
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
/* eslint-disable unicorn/no-null */
|
|
2
|
-
|
|
3
|
-
// const ALLOW_BOOLEAN_PROPERTY_LIST = require('../constants/allow-boolean-property-list');
|
|
4
|
-
// const BOOLEAN_PREFIXES = require('../constants/boolean-prefixes');
|
|
5
|
-
// const ENGLISH_VERBS = require('../constants/english-verbs');
|
|
6
|
-
|
|
7
|
-
module.exports = {
|
|
8
|
-
extends: ['plugin:@typescript-eslint/recommended'],
|
|
9
|
-
|
|
10
|
-
overrides: [
|
|
11
|
-
{
|
|
12
|
-
files: ['*.d.ts', '.*'],
|
|
13
|
-
|
|
14
|
-
rules: {
|
|
15
|
-
'@typescript-eslint/naming-convention': 'off',
|
|
16
|
-
},
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
files: ['**/store/**/*', '**/vuex/**/*', '**/pinia/**/*'],
|
|
20
|
-
|
|
21
|
-
rules: {
|
|
22
|
-
'@typescript-eslint/no-shadow': 'off',
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
],
|
|
26
|
-
|
|
27
|
-
plugins: ['@typescript-eslint'],
|
|
28
|
-
|
|
29
|
-
rules: {
|
|
30
|
-
'@typescript-eslint/array-type': ['error', { default: 'array' }],
|
|
31
|
-
|
|
32
|
-
'@typescript-eslint/consistent-type-assertions': [
|
|
33
|
-
'error',
|
|
34
|
-
{
|
|
35
|
-
assertionStyle: 'as',
|
|
36
|
-
objectLiteralTypeAssertions: 'allow-as-parameter',
|
|
37
|
-
},
|
|
38
|
-
],
|
|
39
|
-
|
|
40
|
-
'@typescript-eslint/consistent-type-definitions': ['error', 'interface'],
|
|
41
|
-
|
|
42
|
-
'@typescript-eslint/consistent-type-imports': [
|
|
43
|
-
'error',
|
|
44
|
-
{ prefer: 'type-imports' },
|
|
45
|
-
],
|
|
46
|
-
|
|
47
|
-
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
|
48
|
-
|
|
49
|
-
'@typescript-eslint/indent': 'off',
|
|
50
|
-
|
|
51
|
-
'@typescript-eslint/member-ordering': 'off', // delegate to sort-class-members plugin
|
|
52
|
-
|
|
53
|
-
'@typescript-eslint/method-signature-style': ['error', 'method'],
|
|
54
|
-
|
|
55
|
-
'@typescript-eslint/naming-convention': 'off', // slow
|
|
56
|
-
|
|
57
|
-
// '@typescript-eslint/naming-convention': [
|
|
58
|
-
// 'error',
|
|
59
|
-
// {
|
|
60
|
-
// format: ['camelCase', 'PascalCase', 'UPPER_CASE'],
|
|
61
|
-
// selector: 'default',
|
|
62
|
-
// },
|
|
63
|
-
// {
|
|
64
|
-
// format: ['camelCase'],
|
|
65
|
-
// selector: 'variable',
|
|
66
|
-
// },
|
|
67
|
-
// {
|
|
68
|
-
// format: ['camelCase'],
|
|
69
|
-
// leadingUnderscore: 'allow',
|
|
70
|
-
// selector: 'parameter',
|
|
71
|
-
// },
|
|
72
|
-
// {
|
|
73
|
-
// format: ['camelCase'],
|
|
74
|
-
// leadingUnderscore: 'require',
|
|
75
|
-
// modifiers: ['private'],
|
|
76
|
-
// selector: 'memberLike',
|
|
77
|
-
// },
|
|
78
|
-
// {
|
|
79
|
-
// format: ['PascalCase'],
|
|
80
|
-
// selector: ['typeLike'],
|
|
81
|
-
// },
|
|
82
|
-
// {
|
|
83
|
-
// format: ['UPPER_CASE'],
|
|
84
|
-
// selector: ['enumMember'],
|
|
85
|
-
// },
|
|
86
|
-
// {
|
|
87
|
-
// custom: {
|
|
88
|
-
// match: false,
|
|
89
|
-
// regex: '^I[A-Z]',
|
|
90
|
-
// },
|
|
91
|
-
|
|
92
|
-
// format: ['PascalCase'],
|
|
93
|
-
// selector: 'interface',
|
|
94
|
-
// },
|
|
95
|
-
// {
|
|
96
|
-
// format: null,
|
|
97
|
-
// leadingUnderscore: 'allow',
|
|
98
|
-
// selector: 'objectLiteralProperty',
|
|
99
|
-
// },
|
|
100
|
-
// {
|
|
101
|
-
// format: null,
|
|
102
|
-
// selector: 'objectLiteralMethod',
|
|
103
|
-
// },
|
|
104
|
-
// {
|
|
105
|
-
// format: null,
|
|
106
|
-
// modifiers: ['destructured'],
|
|
107
|
-
// selector: 'parameter',
|
|
108
|
-
// },
|
|
109
|
-
// {
|
|
110
|
-
// format: ['camelCase', 'UPPER_CASE', 'PascalCase'],
|
|
111
|
-
// modifiers: ['const'],
|
|
112
|
-
// selector: 'variable',
|
|
113
|
-
// },
|
|
114
|
-
// {
|
|
115
|
-
// filter: {
|
|
116
|
-
// match: false,
|
|
117
|
-
// regex: `(${ALLOW_BOOLEAN_PROPERTY_LIST.join('|')})`,
|
|
118
|
-
// },
|
|
119
|
-
|
|
120
|
-
// format: ['PascalCase'],
|
|
121
|
-
|
|
122
|
-
// leadingUnderscore: 'allow',
|
|
123
|
-
|
|
124
|
-
// prefix: BOOLEAN_PREFIXES,
|
|
125
|
-
|
|
126
|
-
// selector: ['accessor', 'parameter', 'variable'],
|
|
127
|
-
|
|
128
|
-
// types: ['boolean'],
|
|
129
|
-
// },
|
|
130
|
-
// {
|
|
131
|
-
// format: ['PascalCase'],
|
|
132
|
-
|
|
133
|
-
// leadingUnderscore: 'allow',
|
|
134
|
-
|
|
135
|
-
// prefix: [...ENGLISH_VERBS, 'on'],
|
|
136
|
-
|
|
137
|
-
// selector: ['classMethod', 'function'],
|
|
138
|
-
// },
|
|
139
|
-
// ],
|
|
140
|
-
|
|
141
|
-
'@typescript-eslint/no-explicit-any': 'off',
|
|
142
|
-
|
|
143
|
-
'@typescript-eslint/no-inferrable-types': [
|
|
144
|
-
'error',
|
|
145
|
-
{
|
|
146
|
-
ignoreParameters: true,
|
|
147
|
-
},
|
|
148
|
-
],
|
|
149
|
-
|
|
150
|
-
'@typescript-eslint/no-shadow': ['error'],
|
|
151
|
-
'@typescript-eslint/no-unused-vars': 'off', // delegate to eslint-plugin-unused-imports
|
|
152
|
-
'@typescript-eslint/no-use-before-define': ['warn'],
|
|
153
|
-
'@typescript-eslint/no-var-requires': 'off',
|
|
154
|
-
'@typescript-eslint/sort-type-constituents': ['error'],
|
|
155
|
-
'@typescript-eslint/unified-signatures': ['error'],
|
|
156
|
-
},
|
|
157
|
-
};
|