11# 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
33env :
44 browser : true
55 node : true
@@ -67,6 +67,7 @@ parserOptions:
6767 templateStrings : true
6868 unicodeCodePointEscapes : true
6969plugins :
70+ - " @stylistic"
7071 - " @typescript-eslint"
7172 - " only-warn"
7273rules :
@@ -265,66 +266,63 @@ rules:
265266 - " warn"
266267 - " never"
267268 - exceptRange : true
268- array-bracket-spacing :
269+ " @stylistic/ array-bracket-spacing" :
269270 - " warn"
270271 - " never"
271- - singleValue : false
272- objectsInArrays : false
273- arraysInArrays : false
274- array-element-newline :
272+ " @stylistic/array-element-newline " :
275273 - " warn"
276274 - " consistent"
277- arrow-parens :
275+ " @stylistic/ arrow-parens" :
278276 - " warn"
279277 - " always"
280- arrow-spacing :
278+ " @stylistic/ arrow-spacing" :
281279 - " warn"
282280 - before : true
283281 after : true
284- block-spacing :
282+ " @stylistic/ block-spacing" :
285283 - " warn"
286284 - " always"
287- brace-style :
285+ " @stylistic/ brace-style" :
288286 - " warn"
289287 - " 1tbs"
290288 - allowSingleLine : false
291- comma-dangle :
289+ " @stylistic/ comma-dangle" :
292290 - " warn"
293291 - " never"
294- comma-spacing :
292+ " @stylistic/ comma-spacing" :
295293 - " warn"
296294 - before : false
297295 after : true
298- comma-style :
296+ " @stylistic/ comma-style" :
299297 - " warn"
300298 - " last"
301- computed-property-spacing :
299+ " @stylistic/ computed-property-spacing" :
302300 - " warn"
303301 - " never"
304302 - enforceForClassMembers : true
305- dot-location :
303+ " @stylistic/ dot-location" :
306304 - " warn"
307305 - " object"
308- eol-last :
306+ " @stylistic/ eol-last" :
309307 - " warn"
310308 - " always"
311- func-call-spacing :
309+ " @stylistic/ func-call-spacing" :
312310 - " warn"
313311 - " never"
314- function-call-argument-newline :
312+ " @stylistic/ function-call-argument-newline" :
315313 - " warn"
316314 - " consistent"
317- function-paren-newline :
315+ " @stylistic/ function-paren-newline" :
318316 - " warn"
319317 - " multiline-arguments"
320- generator-star-spacing :
318+ " @stylistic/ generator-star-spacing" :
321319 - " warn"
322320 - before : false
323321 after : true
324- implicit-arrow-linebreak :
322+ " @stylistic/ implicit-arrow-linebreak" :
325323 - " warn"
326324 - " beside"
327- indent :
325+ " @stylistic/ indent" :
328326 - " warn"
329327 - " tab"
330328 - SwitchCase : 1
@@ -347,25 +345,25 @@ rules:
347345 flatTernaryExpressions : true
348346 offsetTernaryExpressions : false
349347 ignoreComments : false
350- jsx-quotes :
348+ " @stylistic/ jsx-quotes" :
351349 - " warn"
352350 - " prefer-double"
353- key-spacing :
351+ " @stylistic/ key-spacing" :
354352 - " warn"
355353 - beforeColon : false
356354 afterColon : true
357355 mode : " strict"
358- keyword-spacing :
356+ " @stylistic/ keyword-spacing" :
359357 - " warn"
360358 - before : true
361359 after : true
362- multiline-ternary :
360+ " @stylistic/ multiline-ternary" :
363361 - " warn"
364362 - " always-multiline"
365- new-parens :
363+ " @stylistic/ new-parens" :
366364 - " warn"
367365 - " always"
368- no-extra-parens :
366+ " @stylistic/ no-extra-parens" :
369367 - " warn"
370368 - " all"
371369 - conditionalAssign : false
@@ -377,87 +375,87 @@ rules:
377375 enforceForSequenceExpressions : false
378376 enforceForNewInMemberExpressions : true
379377 enforceForFunctionPrototypeMethods : true
380- no-multi-spaces :
378+ " @stylistic/ no-multi-spaces" :
381379 - " warn"
382- no-multiple-empty-lines :
380+ " @stylistic/ no-multiple-empty-lines" :
383381 - " warn"
384382 - max : 1
385- no-tabs :
383+ " @stylistic/ no-tabs" :
386384 - " warn"
387385 - allowIndentationTabs : true
388- no-trailing-spaces :
386+ " @stylistic/ no-trailing-spaces" :
389387 - " warn"
390388 - skipBlankLines : false
391389 ignoreComments : false
392- no-whitespace-before-property :
390+ " @stylistic/ no-whitespace-before-property" :
393391 - " warn"
394- nonblock-statement-body-position :
392+ " @stylistic/ nonblock-statement-body-position" :
395393 - " warn"
396394 - " beside"
397- object-curly-newline :
395+ " @stylistic/ object-curly-newline" :
398396 - " warn"
399397 - multiline : true
400398 consistent : true
401- object-curly-spacing :
399+ " @stylistic/ object-curly-spacing" :
402400 - " warn"
403401 - " always"
404- operator-linebreak :
402+ " @stylistic/ operator-linebreak" :
405403 - " warn"
406- padded-blocks :
404+ " @stylistic/ padded-blocks" :
407405 - " warn"
408406 - " never"
409407 - allowSingleLineBlocks : false
410- padding-line-between-statements :
408+ " @stylistic/ padding-line-between-statements" :
411409 - " warn"
412- quotes :
410+ " @stylistic/ quotes" :
413411 - " warn"
414412 - " double"
415413 - avoidEscape : false
416414 allowTemplateLiterals : true
417- rest-spread-spacing :
415+ " @stylistic/ rest-spread-spacing" :
418416 - " warn"
419417 - " never"
420- semi :
418+ " @stylistic/ semi" :
421419 - " warn"
422420 - " always"
423421 - omitLastInOneLineBlock : false
424422 omitLastInOneLineClassBody : false
425- semi-spacing :
423+ " @stylistic/ semi-spacing" :
426424 - " warn"
427425 - before : false
428426 after : true
429- semi-style :
427+ " @stylistic/ semi-style" :
430428 - " warn"
431429 - " last"
432- space-before-blocks :
430+ " @stylistic/ space-before-blocks" :
433431 - " warn"
434432 - " always"
435- space-before-function-paren :
433+ " @stylistic/ space-before-function-paren" :
436434 - " warn"
437435 - anonymous : " always"
438436 named : " never"
439437 asyncArrow : " always"
440- space-in-parens :
438+ " @stylistic/ space-in-parens" :
441439 - " warn"
442440 - " never"
443- space-infix-ops :
441+ " @stylistic/ space-infix-ops" :
444442 - " warn"
445- space-unary-ops :
443+ " @stylistic/ space-unary-ops" :
446444 - " warn"
447- switch-colon-spacing :
445+ " @stylistic/ switch-colon-spacing" :
448446 - " warn"
449447 - before : false
450448 after : true
451- template-curly-spacing :
449+ " @stylistic/ template-curly-spacing" :
452450 - " warn"
453451 - " never"
454- template-tag-spacing :
452+ " @stylistic/ template-tag-spacing" :
455453 - " warn"
456454 - " never"
457- wrap-iife :
455+ " @stylistic/ wrap-iife" :
458456 - " warn"
459457 - " any"
460- yield-star-spacing :
458+ " @stylistic/ yield-star-spacing" :
461459 - " warn"
462460 - before : false
463461 after : true
@@ -471,3 +469,5 @@ rules:
471469 ts-check : " allow-with-description"
472470 " @typescript-eslint/ban-tslint-comment " :
473471 - " warn"
472+ " @typescript-eslint/no-duplicate-enum-values " :
473+ - " off"
0 commit comments