@@ -15,6 +15,7 @@ plugins:
15
15
- eslint-plugin-no-jquery
16
16
- eslint-plugin-sonarjs
17
17
- eslint-plugin-custom-elements
18
+ - eslint-plugin-regexp
18
19
19
20
env :
20
21
es2022 : true
@@ -472,6 +473,80 @@ rules:
472
473
quote-props : [0]
473
474
quotes : [2, single, {avoidEscape: true, allowTemplateLiterals: true}]
474
475
radix : [2, as-needed]
476
+ regexp/confusing-quantifier : [2]
477
+ regexp/control-character-escape : [2]
478
+ regexp/hexadecimal-escape : [0]
479
+ regexp/letter-case : [0]
480
+ regexp/match-any : [2]
481
+ regexp/negation : [2]
482
+ regexp/no-contradiction-with-assertion : [0]
483
+ regexp/no-control-character : [0]
484
+ regexp/no-dupe-characters-character-class : [2]
485
+ regexp/no-dupe-disjunctions : [2]
486
+ regexp/no-empty-alternative : [2]
487
+ regexp/no-empty-capturing-group : [2]
488
+ regexp/no-empty-character-class : [0]
489
+ regexp/no-empty-group : [2]
490
+ regexp/no-empty-lookarounds-assertion : [2]
491
+ regexp/no-escape-backspace : [2]
492
+ regexp/no-extra-lookaround-assertions : [0]
493
+ regexp/no-invalid-regexp : [2]
494
+ regexp/no-invisible-character : [2]
495
+ regexp/no-lazy-ends : [2]
496
+ regexp/no-legacy-features : [2]
497
+ regexp/no-misleading-capturing-group : [0]
498
+ regexp/no-misleading-unicode-character : [0]
499
+ regexp/no-missing-g-flag : [2]
500
+ regexp/no-non-standard-flag : [2]
501
+ regexp/no-obscure-range : [2]
502
+ regexp/no-octal : [2]
503
+ regexp/no-optional-assertion : [2]
504
+ regexp/no-potentially-useless-backreference : [2]
505
+ regexp/no-standalone-backslash : [2]
506
+ regexp/no-super-linear-backtracking : [0]
507
+ regexp/no-super-linear-move : [0]
508
+ regexp/no-trivially-nested-assertion : [2]
509
+ regexp/no-trivially-nested-quantifier : [2]
510
+ regexp/no-unused-capturing-group : [0]
511
+ regexp/no-useless-assertions : [2]
512
+ regexp/no-useless-backreference : [2]
513
+ regexp/no-useless-character-class : [2]
514
+ regexp/no-useless-dollar-replacements : [2]
515
+ regexp/no-useless-escape : [2]
516
+ regexp/no-useless-flag : [2]
517
+ regexp/no-useless-lazy : [2]
518
+ regexp/no-useless-non-capturing-group : [2]
519
+ regexp/no-useless-quantifier : [2]
520
+ regexp/no-useless-range : [2]
521
+ regexp/no-useless-two-nums-quantifier : [2]
522
+ regexp/no-zero-quantifier : [2]
523
+ regexp/optimal-lookaround-quantifier : [2]
524
+ regexp/optimal-quantifier-concatenation : [0]
525
+ regexp/prefer-character-class : [0]
526
+ regexp/prefer-d : [0]
527
+ regexp/prefer-escape-replacement-dollar-char : [0]
528
+ regexp/prefer-lookaround : [0]
529
+ regexp/prefer-named-backreference : [0]
530
+ regexp/prefer-named-capture-group : [0]
531
+ regexp/prefer-named-replacement : [0]
532
+ regexp/prefer-plus-quantifier : [2]
533
+ regexp/prefer-predefined-assertion : [2]
534
+ regexp/prefer-quantifier : [0]
535
+ regexp/prefer-question-quantifier : [2]
536
+ regexp/prefer-range : [2]
537
+ regexp/prefer-regexp-exec : [2]
538
+ regexp/prefer-regexp-test : [2]
539
+ regexp/prefer-result-array-groups : [0]
540
+ regexp/prefer-star-quantifier : [2]
541
+ regexp/prefer-unicode-codepoint-escapes : [2]
542
+ regexp/prefer-w : [0]
543
+ regexp/require-unicode-regexp : [0]
544
+ regexp/sort-alternatives : [0]
545
+ regexp/sort-character-class-elements : [0]
546
+ regexp/sort-flags : [0]
547
+ regexp/strict : [2]
548
+ regexp/unicode-escape : [0]
549
+ regexp/use-ignore-case : [0]
475
550
require-atomic-updates : [0]
476
551
require-await : [0]
477
552
require-unicode-regexp : [0]
0 commit comments