@dangee1705/eslint-config 0.5.0 → 0.6.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/eslint.config.js +121 -131
- package/package.json +7 -5
package/eslint.config.js
CHANGED
|
@@ -7,25 +7,17 @@ import globals from 'globals';
|
|
|
7
7
|
|
|
8
8
|
/** @type {import('eslint').Linter.Config[]} */
|
|
9
9
|
export default [
|
|
10
|
+
// ignore dist folder
|
|
10
11
|
{
|
|
11
|
-
|
|
12
|
-
'no-console': ['warn', {allow: ['info', 'warn', 'error']}]
|
|
13
|
-
}
|
|
12
|
+
ignores: ['dist']
|
|
14
13
|
},
|
|
14
|
+
// Base configuration for all JavaScript and TypeScript files
|
|
15
15
|
{
|
|
16
16
|
files: ['**/*.{js,jsx,ts,tsx}'],
|
|
17
17
|
languageOptions: {
|
|
18
18
|
globals: {
|
|
19
19
|
...globals.browser,
|
|
20
20
|
...globals.node
|
|
21
|
-
},
|
|
22
|
-
parser,
|
|
23
|
-
parserOptions: {
|
|
24
|
-
allowJS: true,
|
|
25
|
-
projectService: {
|
|
26
|
-
allowDefaultProject: ['*.js']
|
|
27
|
-
},
|
|
28
|
-
tsconfigRootDir: import.meta.dirname
|
|
29
21
|
}
|
|
30
22
|
},
|
|
31
23
|
rules: {
|
|
@@ -81,7 +73,7 @@ export default [
|
|
|
81
73
|
'no-unsafe-optional-chaining': ['warn'],
|
|
82
74
|
'no-unused-private-class-members': ['warn'],
|
|
83
75
|
'no-unused-vars': ['off'],
|
|
84
|
-
'no-use-before-define': ['
|
|
76
|
+
'no-use-before-define': ['off'],
|
|
85
77
|
'no-useless-assignment': ['warn'],
|
|
86
78
|
'no-useless-backreference': ['warn'],
|
|
87
79
|
'require-atomic-updates': ['warn'],
|
|
@@ -118,7 +110,7 @@ export default [
|
|
|
118
110
|
'max-lines': ['off'],
|
|
119
111
|
'max-lines-per-function': ['off'],
|
|
120
112
|
'max-nested-callbacks': ['warn', {'max': 3}],
|
|
121
|
-
'max-params': ['
|
|
113
|
+
'max-params': ['off'],
|
|
122
114
|
'max-statements': ['off'],
|
|
123
115
|
'new-cap': ['warn'],
|
|
124
116
|
'no-alert': ['off'],
|
|
@@ -151,7 +143,7 @@ export default [
|
|
|
151
143
|
'no-labels': ['off'],
|
|
152
144
|
'no-lone-blocks': ['off'],
|
|
153
145
|
'no-lonely-if': ['warn'],
|
|
154
|
-
'no-loop-func': ['
|
|
146
|
+
'no-loop-func': ['off'],
|
|
155
147
|
'no-magic-numbers': ['off'], // TODO: probably a good idea to enable
|
|
156
148
|
'no-multi-assign': ['warn', {'ignoreNonDeclaration': true}],
|
|
157
149
|
'no-multi-str': ['warn'],
|
|
@@ -167,7 +159,7 @@ export default [
|
|
|
167
159
|
'no-param-reassign': ['warn'],
|
|
168
160
|
'no-plusplus': ['off'],
|
|
169
161
|
'no-proto': ['warn'],
|
|
170
|
-
'no-redeclare': ['
|
|
162
|
+
'no-redeclare': ['off'],
|
|
171
163
|
'no-regex-spaces': ['warn'],
|
|
172
164
|
'no-restricted-exports': ['off'],
|
|
173
165
|
'no-restricted-globals': ['off'],
|
|
@@ -185,13 +177,13 @@ export default [
|
|
|
185
177
|
'no-undefined': ['off'],
|
|
186
178
|
'no-underscore-dangle': ['warn'],
|
|
187
179
|
'no-unneeded-ternary': ['warn'],
|
|
188
|
-
'no-unused-expressions': ['
|
|
180
|
+
'no-unused-expressions': ['off'],
|
|
189
181
|
'no-unused-labels': ['warn'],
|
|
190
182
|
'no-useless-call': ['warn'],
|
|
191
183
|
'no-useless-catch': ['warn'],
|
|
192
184
|
'no-useless-computed-key': ['warn'],
|
|
193
185
|
'no-useless-concat': ['warn'],
|
|
194
|
-
'no-useless-constructor': ['
|
|
186
|
+
'no-useless-constructor': ['off'],
|
|
195
187
|
'no-useless-escape': ['warn'],
|
|
196
188
|
'no-useless-rename': ['warn'],
|
|
197
189
|
'no-useless-return': ['warn'],
|
|
@@ -210,13 +202,13 @@ export default [
|
|
|
210
202
|
'prefer-numeric-literals': ['warn'],
|
|
211
203
|
'prefer-object-has-own': ['warn'],
|
|
212
204
|
'prefer-object-spread': ['warn'],
|
|
213
|
-
'prefer-promise-reject-errors': ['
|
|
205
|
+
'prefer-promise-reject-errors': ['off'],
|
|
214
206
|
'prefer-regex-literals': ['warn'],
|
|
215
207
|
'prefer-rest-params': ['warn'],
|
|
216
208
|
'prefer-spread': ['warn'],
|
|
217
209
|
'prefer-template': ['warn'],
|
|
218
210
|
'radix': ['warn'],
|
|
219
|
-
'require-await': ['
|
|
211
|
+
'require-await': ['off'],
|
|
220
212
|
'require-unicode-regexp': ['off'],
|
|
221
213
|
'require-yield': ['warn'],
|
|
222
214
|
'sort-imports': ['off'],
|
|
@@ -263,7 +255,7 @@ export default [
|
|
|
263
255
|
'@stylistic/jsx-function-call-newline': ['warn', 'multiline'],
|
|
264
256
|
'@stylistic/jsx-indent': ['warn', 'tab'],
|
|
265
257
|
'@stylistic/jsx-indent-props': ['warn', 'tab'],
|
|
266
|
-
'@stylistic/jsx-max-props-per-line': ['
|
|
258
|
+
'@stylistic/jsx-max-props-per-line': ['error', {'maximum': 1, 'when': 'multiline'}],
|
|
267
259
|
'@stylistic/jsx-newline': ['off'],
|
|
268
260
|
'@stylistic/jsx-one-expression-per-line': ['off'],
|
|
269
261
|
'@stylistic/jsx-pascal-case': ['warn'],
|
|
@@ -274,21 +266,10 @@ export default [
|
|
|
274
266
|
'@stylistic/jsx-tag-spacing': ['warn', {'closingSlash': 'never', 'beforeSelfClosing': 'never', 'afterOpening': 'never', 'beforeClosing': 'never'}],
|
|
275
267
|
'@stylistic/jsx-wrap-multilines': ['warn', {'declaration': 'parens-new-line', 'assignment': 'parens-new-line', 'return': 'parens-new-line', 'arrow': 'parens-new-line', 'condition': 'parens-new-line', 'logical': 'parens-new-line', 'prop': 'parens-new-line'}],
|
|
276
268
|
'@stylistic/key-spacing': ['warn', {'beforeColon': false, 'afterColon': true}],
|
|
277
|
-
'@stylistic/keyword-spacing': [
|
|
278
|
-
'warn',
|
|
279
|
-
{
|
|
280
|
-
'before': true,
|
|
281
|
-
'after': true,
|
|
282
|
-
'overrides': {
|
|
283
|
-
'if': {'after': false},
|
|
284
|
-
'for': {'after': false},
|
|
285
|
-
'while': {'after': false}
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
],
|
|
269
|
+
'@stylistic/keyword-spacing': ['warn', {'before': true, 'after': true, 'overrides': {'if': {'after': false}, 'for': {'after': false}, 'while': {'after': false}}}],
|
|
289
270
|
'@stylistic/line-comment-position': ['off'],
|
|
290
271
|
'@stylistic/linebreak-style': ['warn', 'unix'],
|
|
291
|
-
'@stylistic/lines-around-comment': ['warn', {'beforeBlockComment': true, '
|
|
272
|
+
'@stylistic/lines-around-comment': ['warn', {'beforeBlockComment': true, 'allowBlockStart': true, 'allowBlockEnd': true, 'allowObjectStart': true, 'allowObjectEnd': true, 'allowArrayStart': true, 'allowArrayEnd': true}],
|
|
292
273
|
'@stylistic/lines-between-class-members': ['warn', 'always'],
|
|
293
274
|
'@stylistic/max-len': ['warn', {'code': 120, 'tabWidth': 4, 'ignoreUrls': true, 'ignoreStrings': true, 'ignoreTemplateLiterals': true, 'ignoreRegExpLiterals': true}],
|
|
294
275
|
'@stylistic/max-statements-per-line': ['warn', {'max': 1}],
|
|
@@ -298,7 +279,7 @@ export default [
|
|
|
298
279
|
'@stylistic/new-parens': ['warn', 'always'],
|
|
299
280
|
'@stylistic/newline-per-chained-call': ['warn', {'ignoreChainWithDepth': 3}],
|
|
300
281
|
'@stylistic/no-confusing-arrow': ['warn', {'allowParens': true}],
|
|
301
|
-
'@stylistic/no-extra-parens': ['warn', 'all', {'nestedBinaryExpressions': false, 'ignoreJSX': 'multi-line', 'enforceForArrowConditionals': false, 'allowNodesInSpreadElement': {
|
|
282
|
+
'@stylistic/no-extra-parens': ['warn', 'all', {'nestedBinaryExpressions': false, 'ignoreJSX': 'multi-line', 'enforceForArrowConditionals': false, 'allowNodesInSpreadElement': {'ConditionalExpression': true, 'LogicalExpression': true, 'AwaitExpression': true}}],
|
|
302
283
|
'@stylistic/no-extra-semi': ['warn'],
|
|
303
284
|
'@stylistic/no-floating-decimal': ['warn'],
|
|
304
285
|
'@stylistic/no-mixed-operators': ['warn', {'allowSamePrecedence': true}],
|
|
@@ -338,6 +319,27 @@ export default [
|
|
|
338
319
|
'@stylistic/wrap-regex': ['off'],
|
|
339
320
|
'@stylistic/yield-star-spacing': ['warn', 'before'],
|
|
340
321
|
|
|
322
|
+
'simple-import-sort/imports': ['warn', {'groups': [['.*']]}]
|
|
323
|
+
},
|
|
324
|
+
plugins: {
|
|
325
|
+
'react-hooks': reactHooks,
|
|
326
|
+
'@stylistic': stylistic,
|
|
327
|
+
'simple-import-sort': simpleImportSort
|
|
328
|
+
}
|
|
329
|
+
},
|
|
330
|
+
// TypeScript-specific configuration
|
|
331
|
+
{
|
|
332
|
+
files: ['**/*.{ts,tsx}'],
|
|
333
|
+
languageOptions: {
|
|
334
|
+
parser,
|
|
335
|
+
parserOptions: {
|
|
336
|
+
projectService: {
|
|
337
|
+
allowDefaultProject: ['*.js']
|
|
338
|
+
},
|
|
339
|
+
tsconfigRootDir: import.meta.dirname
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
rules: {
|
|
341
343
|
'@typescript-eslint/adjacent-overload-signatures': ['warn'],
|
|
342
344
|
'@typescript-eslint/array-type': ['warn', {'default': 'array'}],
|
|
343
345
|
'@typescript-eslint/await-thenable': ['warn'],
|
|
@@ -356,128 +358,116 @@ export default [
|
|
|
356
358
|
'@typescript-eslint/dot-notation': ['off'],
|
|
357
359
|
'@typescript-eslint/explicit-function-return-type': ['off'],
|
|
358
360
|
'@typescript-eslint/explicit-member-accessibility': ['off'],
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
361
|
+
'@typescript-eslint/explicit-module-boundary-types': ['off'],
|
|
362
|
+
'@typescript-eslint/init-declarations': ['off'],
|
|
363
|
+
'@typescript-eslint/max-params': ['warn', {'max': 5}],
|
|
364
|
+
'@typescript-eslint/member-ordering': ['off'],
|
|
363
365
|
// '@typescript-eslint/method-signature-style': ['warn'],
|
|
364
366
|
// '@typescript-eslint/naming-convention': ['off'],
|
|
365
367
|
// '@typescript-eslint/no-array-constructor': ['warn'],
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
368
|
+
'@typescript-eslint/no-array-delete': ['warn'],
|
|
369
|
+
'@typescript-eslint/no-base-to-string': ['warn'],
|
|
370
|
+
'@typescript-eslint/no-confusing-non-null-assertion': ['warn'],
|
|
371
|
+
'@typescript-eslint/no-confusing-void-expression': ['warn'],
|
|
372
|
+
'@typescript-eslint/no-deprecated': ['off'],
|
|
371
373
|
// '@typescript-eslint/no-dupe-class-members': ['warn'],
|
|
372
374
|
// '@typescript-eslint/no-duplicate-enum-values': ['warn'],
|
|
373
375
|
// '@typescript-eslint/no-duplicate-type-constituents': ['warn'],
|
|
374
|
-
|
|
376
|
+
'@typescript-eslint/no-dynamic-delete': ['warn'],
|
|
375
377
|
// '@typescript-eslint/no-empty-function': ['warn'],
|
|
376
378
|
// '@typescript-eslint/no-empty-interface': ['warn'],
|
|
377
379
|
// '@typescript-eslint/no-empty-object-type': ['warn'],
|
|
378
380
|
// '@typescript-eslint/no-explicit-any': ['warn'],
|
|
379
|
-
|
|
381
|
+
'@typescript-eslint/no-extra-non-null-assertion': ['warn'],
|
|
380
382
|
// '@typescript-eslint/no-extraneous-class': ['warn'],
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
383
|
+
'@typescript-eslint/no-floating-promises': ['warn'],
|
|
384
|
+
'@typescript-eslint/no-for-in-array': ['warn'],
|
|
385
|
+
'@typescript-eslint/no-implied-eval': ['warn'],
|
|
384
386
|
// '@typescript-eslint/no-import-type-side-effects': ['warn'],
|
|
385
|
-
|
|
387
|
+
'@typescript-eslint/no-inferrable-types': ['warn'],
|
|
386
388
|
// '@typescript-eslint/no-invalid-this': ['warn'],
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
// '@typescript-eslint/no-loss-of-precision': ['warn'],
|
|
389
|
+
'@typescript-eslint/no-invalid-void-type': ['warn'],
|
|
390
|
+
'@typescript-eslint/no-loop-func': ['warn'],
|
|
390
391
|
// '@typescript-eslint/no-magic-numbers': ['warn'],
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
392
|
+
'@typescript-eslint/no-meaningless-void-operator': ['warn'],
|
|
393
|
+
'@typescript-eslint/no-misused-new': ['warn'],
|
|
394
|
+
'@typescript-eslint/no-misused-promises': ['warn'],
|
|
395
|
+
'@typescript-eslint/no-misused-spread': ['warn'],
|
|
396
|
+
'@typescript-eslint/no-mixed-enums': ['warn'],
|
|
397
|
+
'@typescript-eslint/no-namespace': ['warn'],
|
|
398
|
+
'@typescript-eslint/no-non-null-asserted-nullish-coalescing': ['warn'],
|
|
399
|
+
'@typescript-eslint/no-non-null-asserted-optional-chain': ['warn'],
|
|
400
|
+
'@typescript-eslint/no-non-null-assertion': ['warn'],
|
|
401
|
+
'@typescript-eslint/no-redeclare': ['warn'],
|
|
402
|
+
'@typescript-eslint/no-redundant-type-constituents': ['warn'],
|
|
403
|
+
'@typescript-eslint/no-require-imports': ['warn'],
|
|
403
404
|
// '@typescript-eslint/no-restricted-imports': ['warn'],
|
|
404
405
|
// '@typescript-eslint/no-restricted-types': ['warn'],
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
// '@typescript-eslint/no-unsafe-assignment': ['
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
406
|
+
'@typescript-eslint/no-shadow': ['off'],
|
|
407
|
+
'@typescript-eslint/no-this-alias': ['warn'],
|
|
408
|
+
'@typescript-eslint/no-unnecessary-boolean-literal-compare': ['warn'],
|
|
409
|
+
'@typescript-eslint/no-unnecessary-condition': ['warn'],
|
|
410
|
+
'@typescript-eslint/no-unnecessary-parameter-property-assignment': ['off'],
|
|
411
|
+
'@typescript-eslint/no-unnecessary-qualifier': ['warn'],
|
|
412
|
+
'@typescript-eslint/no-unnecessary-template-expression': ['warn'],
|
|
413
|
+
'@typescript-eslint/no-unnecessary-type-arguments': ['warn'],
|
|
414
|
+
'@typescript-eslint/no-unnecessary-type-assertion': ['warn'],
|
|
415
|
+
'@typescript-eslint/no-unnecessary-type-constraint': ['warn'],
|
|
416
|
+
'@typescript-eslint/no-unnecessary-type-conversion': ['warn'],
|
|
417
|
+
'@typescript-eslint/no-unnecessary-type-parameters': ['warn'],
|
|
418
|
+
'@typescript-eslint/no-unsafe-argument': ['warn'],
|
|
419
|
+
// '@typescript-eslint/no-unsafe-assignment': ['off'],
|
|
420
|
+
'@typescript-eslint/no-unsafe-call': ['warn'],
|
|
421
|
+
'@typescript-eslint/no-unsafe-declaration-merging': ['warn'],
|
|
422
|
+
'@typescript-eslint/no-unsafe-enum-comparison': ['warn'],
|
|
423
|
+
'@typescript-eslint/no-unsafe-function-type': ['warn'],
|
|
424
|
+
'@typescript-eslint/no-unsafe-member-access': ['warn'],
|
|
425
|
+
'@typescript-eslint/no-unsafe-return': ['warn'],
|
|
426
|
+
'@typescript-eslint/no-unsafe-type-assertion': ['warn'],
|
|
427
|
+
'@typescript-eslint/no-unsafe-unary-minus': ['warn'],
|
|
428
|
+
'@typescript-eslint/no-unused-expressions': ['warn'],
|
|
428
429
|
'@typescript-eslint/no-unused-vars': ['warn'],
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
// '@typescript-eslint/no-wrapper-object-types': ['warn'],
|
|
430
|
+
'@typescript-eslint/no-use-before-define': ['warn'],
|
|
431
|
+
'@typescript-eslint/no-useless-constructor': ['warn'],
|
|
432
|
+
'@typescript-eslint/no-useless-empty-export': ['warn'],
|
|
433
|
+
'@typescript-eslint/no-wrapper-object-types': ['warn'],
|
|
434
434
|
// '@typescript-eslint/non-nullable-type-assertion-style': ['warn'],
|
|
435
|
-
|
|
435
|
+
'@typescript-eslint/only-throw-error': ['warn'],
|
|
436
436
|
// '@typescript-eslint/parameter-properties': ['warn'],
|
|
437
|
-
|
|
437
|
+
'@typescript-eslint/prefer-as-const': ['warn'],
|
|
438
438
|
// '@typescript-eslint/prefer-destructuring': ['warn'],
|
|
439
439
|
// '@typescript-eslint/prefer-enum-initializers': ['warn'],
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
440
|
+
'@typescript-eslint/prefer-find': ['warn'],
|
|
441
|
+
'@typescript-eslint/prefer-for-of': ['warn'],
|
|
442
|
+
'@typescript-eslint/prefer-function-type': ['warn'],
|
|
443
|
+
'@typescript-eslint/prefer-includes': ['warn'],
|
|
444
444
|
// '@typescript-eslint/prefer-literal-enum-member': ['warn'],
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
// '@typescript-eslint/strict-boolean-expressions': ['warn'],
|
|
465
|
-
// '@typescript-eslint/switch-exhaustiveness-check': ['warn'],
|
|
445
|
+
'@typescript-eslint/prefer-namespace-keyword': ['off'],
|
|
446
|
+
'@typescript-eslint/prefer-nullish-coalescing': ['warn'],
|
|
447
|
+
'@typescript-eslint/prefer-optional-chain': ['warn'],
|
|
448
|
+
'@typescript-eslint/prefer-promise-reject-errors': ['warn'],
|
|
449
|
+
'@typescript-eslint/prefer-readonly': ['off'],
|
|
450
|
+
'@typescript-eslint/prefer-readonly-parameter-types': ['off'],
|
|
451
|
+
'@typescript-eslint/prefer-reduce-type-parameter': ['warn'],
|
|
452
|
+
'@typescript-eslint/prefer-regexp-exec': ['warn'],
|
|
453
|
+
'@typescript-eslint/prefer-return-this-type': ['warn'],
|
|
454
|
+
'@typescript-eslint/prefer-string-starts-ends-with': ['warn'],
|
|
455
|
+
'@typescript-eslint/promise-function-async': ['warn'],
|
|
456
|
+
'@typescript-eslint/related-getter-setter-pairs': ['warn'],
|
|
457
|
+
'@typescript-eslint/require-array-sort-compare': ['warn'],
|
|
458
|
+
'@typescript-eslint/require-await': ['warn'],
|
|
459
|
+
'@typescript-eslint/restrict-plus-operands': ['warn'],
|
|
460
|
+
'@typescript-eslint/restrict-template-expressions': ['warn'],
|
|
461
|
+
'@typescript-eslint/return-await': ['warn'],
|
|
462
|
+
'@typescript-eslint/strict-boolean-expressions': ['warn'],
|
|
463
|
+
'@typescript-eslint/switch-exhaustiveness-check': ['warn'],
|
|
466
464
|
// '@typescript-eslint/triple-slash-reference': ['warn'],
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
// '@typescript-eslint/use-unknown-in-catch-callback-variable': ['warn']
|
|
471
|
-
|
|
472
|
-
'simple-import-sort/imports': ['warn', {
|
|
473
|
-
'groups': [['.*']]
|
|
474
|
-
}]
|
|
465
|
+
'@typescript-eslint/unbound-method': ['warn'],
|
|
466
|
+
'@typescript-eslint/unified-signatures': ['warn'],
|
|
467
|
+
'@typescript-eslint/use-unknown-in-catch-callback-variable': ['warn']
|
|
475
468
|
},
|
|
476
469
|
plugins: {
|
|
477
|
-
'
|
|
478
|
-
'@stylistic': stylistic,
|
|
479
|
-
'@typescript-eslint': typescriptEslint,
|
|
480
|
-
'simple-import-sort': simpleImportSort
|
|
470
|
+
'@typescript-eslint': typescriptEslint
|
|
481
471
|
}
|
|
482
472
|
}
|
|
483
473
|
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dangee1705/eslint-config",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Dan Gee's ESLint Config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -20,14 +20,16 @@
|
|
|
20
20
|
"author": "Dan Gee <dangee1705@gmail.com> (https://dangee1705.com)",
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@stylistic/eslint-plugin": "^5.1.0",
|
|
23
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
24
|
-
"@typescript-eslint/parser": "^8.
|
|
23
|
+
"@typescript-eslint/eslint-plugin": "^8.37.0",
|
|
24
|
+
"@typescript-eslint/parser": "^8.37.0",
|
|
25
25
|
"eslint-plugin-react": "^7.37.5",
|
|
26
26
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
27
|
-
"eslint-plugin-simple-import-sort": "^12.1.1"
|
|
28
|
-
"globals": "^16.3.0"
|
|
27
|
+
"eslint-plugin-simple-import-sort": "^12.1.1"
|
|
29
28
|
},
|
|
30
29
|
"peerDependencies": {
|
|
31
30
|
"eslint": "^9.23.0"
|
|
31
|
+
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"globals": "^16.3.0"
|
|
32
34
|
}
|
|
33
35
|
}
|