1
1
# yaml-language-server: $schema=https://json.schemastore.org/eslintrc.json
2
- # ESLint v8.50 .0
2
+ # ESLint v8.55.0 + ESLint Stylistic v1.5.0 + ESLint TypeScript v6.13 .0
3
3
env :
4
4
browser : true
5
5
node : true
@@ -67,6 +67,7 @@ parserOptions:
67
67
templateStrings : true
68
68
unicodeCodePointEscapes : true
69
69
plugins :
70
+ - " @stylistic"
70
71
- " @typescript-eslint"
71
72
- " only-warn"
72
73
rules :
@@ -265,66 +266,63 @@ rules:
265
266
- " warn"
266
267
- " never"
267
268
- exceptRange : true
268
- array-bracket-spacing :
269
+ " @stylistic/ array-bracket-spacing" :
269
270
- " warn"
270
271
- " never"
271
- - singleValue : false
272
- objectsInArrays : false
273
- arraysInArrays : false
274
- array-element-newline :
272
+ " @stylistic/array-element-newline " :
275
273
- " warn"
276
274
- " consistent"
277
- arrow-parens :
275
+ " @stylistic/ arrow-parens" :
278
276
- " warn"
279
277
- " always"
280
- arrow-spacing :
278
+ " @stylistic/ arrow-spacing" :
281
279
- " warn"
282
280
- before : true
283
281
after : true
284
- block-spacing :
282
+ " @stylistic/ block-spacing" :
285
283
- " warn"
286
284
- " always"
287
- brace-style :
285
+ " @stylistic/ brace-style" :
288
286
- " warn"
289
287
- " 1tbs"
290
288
- allowSingleLine : false
291
- comma-dangle :
289
+ " @stylistic/ comma-dangle" :
292
290
- " warn"
293
291
- " never"
294
- comma-spacing :
292
+ " @stylistic/ comma-spacing" :
295
293
- " warn"
296
294
- before : false
297
295
after : true
298
- comma-style :
296
+ " @stylistic/ comma-style" :
299
297
- " warn"
300
298
- " last"
301
- computed-property-spacing :
299
+ " @stylistic/ computed-property-spacing" :
302
300
- " warn"
303
301
- " never"
304
302
- enforceForClassMembers : true
305
- dot-location :
303
+ " @stylistic/ dot-location" :
306
304
- " warn"
307
305
- " object"
308
- eol-last :
306
+ " @stylistic/ eol-last" :
309
307
- " warn"
310
308
- " always"
311
- func-call-spacing :
309
+ " @stylistic/ func-call-spacing" :
312
310
- " warn"
313
311
- " never"
314
- function-call-argument-newline :
312
+ " @stylistic/ function-call-argument-newline" :
315
313
- " warn"
316
314
- " consistent"
317
- function-paren-newline :
315
+ " @stylistic/ function-paren-newline" :
318
316
- " warn"
319
317
- " multiline-arguments"
320
- generator-star-spacing :
318
+ " @stylistic/ generator-star-spacing" :
321
319
- " warn"
322
320
- before : false
323
321
after : true
324
- implicit-arrow-linebreak :
322
+ " @stylistic/ implicit-arrow-linebreak" :
325
323
- " warn"
326
324
- " beside"
327
- indent :
325
+ " @stylistic/ indent" :
328
326
- " warn"
329
327
- " tab"
330
328
- SwitchCase : 1
@@ -347,25 +345,25 @@ rules:
347
345
flatTernaryExpressions : true
348
346
offsetTernaryExpressions : false
349
347
ignoreComments : false
350
- jsx-quotes :
348
+ " @stylistic/ jsx-quotes" :
351
349
- " warn"
352
350
- " prefer-double"
353
- key-spacing :
351
+ " @stylistic/ key-spacing" :
354
352
- " warn"
355
353
- beforeColon : false
356
354
afterColon : true
357
355
mode : " strict"
358
- keyword-spacing :
356
+ " @stylistic/ keyword-spacing" :
359
357
- " warn"
360
358
- before : true
361
359
after : true
362
- multiline-ternary :
360
+ " @stylistic/ multiline-ternary" :
363
361
- " warn"
364
362
- " always-multiline"
365
- new-parens :
363
+ " @stylistic/ new-parens" :
366
364
- " warn"
367
365
- " always"
368
- no-extra-parens :
366
+ " @stylistic/ no-extra-parens" :
369
367
- " warn"
370
368
- " all"
371
369
- conditionalAssign : false
@@ -377,87 +375,87 @@ rules:
377
375
enforceForSequenceExpressions : false
378
376
enforceForNewInMemberExpressions : true
379
377
enforceForFunctionPrototypeMethods : true
380
- no-multi-spaces :
378
+ " @stylistic/ no-multi-spaces" :
381
379
- " warn"
382
- no-multiple-empty-lines :
380
+ " @stylistic/ no-multiple-empty-lines" :
383
381
- " warn"
384
382
- max : 1
385
- no-tabs :
383
+ " @stylistic/ no-tabs" :
386
384
- " warn"
387
385
- allowIndentationTabs : true
388
- no-trailing-spaces :
386
+ " @stylistic/ no-trailing-spaces" :
389
387
- " warn"
390
388
- skipBlankLines : false
391
389
ignoreComments : false
392
- no-whitespace-before-property :
390
+ " @stylistic/ no-whitespace-before-property" :
393
391
- " warn"
394
- nonblock-statement-body-position :
392
+ " @stylistic/ nonblock-statement-body-position" :
395
393
- " warn"
396
394
- " beside"
397
- object-curly-newline :
395
+ " @stylistic/ object-curly-newline" :
398
396
- " warn"
399
397
- multiline : true
400
398
consistent : true
401
- object-curly-spacing :
399
+ " @stylistic/ object-curly-spacing" :
402
400
- " warn"
403
401
- " always"
404
- operator-linebreak :
402
+ " @stylistic/ operator-linebreak" :
405
403
- " warn"
406
- padded-blocks :
404
+ " @stylistic/ padded-blocks" :
407
405
- " warn"
408
406
- " never"
409
407
- allowSingleLineBlocks : false
410
- padding-line-between-statements :
408
+ " @stylistic/ padding-line-between-statements" :
411
409
- " warn"
412
- quotes :
410
+ " @stylistic/ quotes" :
413
411
- " warn"
414
412
- " double"
415
413
- avoidEscape : false
416
414
allowTemplateLiterals : true
417
- rest-spread-spacing :
415
+ " @stylistic/ rest-spread-spacing" :
418
416
- " warn"
419
417
- " never"
420
- semi :
418
+ " @stylistic/ semi" :
421
419
- " warn"
422
420
- " always"
423
421
- omitLastInOneLineBlock : false
424
422
omitLastInOneLineClassBody : false
425
- semi-spacing :
423
+ " @stylistic/ semi-spacing" :
426
424
- " warn"
427
425
- before : false
428
426
after : true
429
- semi-style :
427
+ " @stylistic/ semi-style" :
430
428
- " warn"
431
429
- " last"
432
- space-before-blocks :
430
+ " @stylistic/ space-before-blocks" :
433
431
- " warn"
434
432
- " always"
435
- space-before-function-paren :
433
+ " @stylistic/ space-before-function-paren" :
436
434
- " warn"
437
435
- anonymous : " always"
438
436
named : " never"
439
437
asyncArrow : " always"
440
- space-in-parens :
438
+ " @stylistic/ space-in-parens" :
441
439
- " warn"
442
440
- " never"
443
- space-infix-ops :
441
+ " @stylistic/ space-infix-ops" :
444
442
- " warn"
445
- space-unary-ops :
443
+ " @stylistic/ space-unary-ops" :
446
444
- " warn"
447
- switch-colon-spacing :
445
+ " @stylistic/ switch-colon-spacing" :
448
446
- " warn"
449
447
- before : false
450
448
after : true
451
- template-curly-spacing :
449
+ " @stylistic/ template-curly-spacing" :
452
450
- " warn"
453
451
- " never"
454
- template-tag-spacing :
452
+ " @stylistic/ template-tag-spacing" :
455
453
- " warn"
456
454
- " never"
457
- wrap-iife :
455
+ " @stylistic/ wrap-iife" :
458
456
- " warn"
459
457
- " any"
460
- yield-star-spacing :
458
+ " @stylistic/ yield-star-spacing" :
461
459
- " warn"
462
460
- before : false
463
461
after : true
@@ -471,3 +469,5 @@ rules:
471
469
ts-check : " allow-with-description"
472
470
" @typescript-eslint/ban-tslint-comment " :
473
471
- " warn"
472
+ " @typescript-eslint/no-duplicate-enum-values " :
473
+ - " off"
0 commit comments