@gooddata/eslint-config 11.18.0-alpha.7 → 11.18.0-alpha.8

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/dist/base.json CHANGED
@@ -4,15 +4,14 @@
4
4
  "no-barrel-files",
5
5
  "import",
6
6
  "no-only-tests",
7
- "sonarjs",
8
- "eslint-comments"
7
+ "sonarjs"
9
8
  ],
10
9
  "extends": [
11
10
  "eslint:recommended",
12
11
  "plugin:import/errors",
13
12
  "plugin:prettier/recommended",
14
13
  "plugin:regexp/recommended",
15
- "plugin:sonarjs/recommended"
14
+ "plugin:sonarjs/recommended-legacy"
16
15
  ],
17
16
  "rules": {
18
17
  "no-console": [
@@ -649,7 +648,69 @@
649
648
  "regexp/prefer-w": "off",
650
649
  "sonarjs/no-duplicate-string": "off",
651
650
  "sonarjs/cognitive-complexity": "warn",
652
- "eslint-comments/no-unused-disable": "error",
651
+ "sonarjs/todo-tag": "warn",
652
+ "sonarjs/no-hardcoded-passwords": "off",
653
+ "sonarjs/no-alphabetical-sort": "off",
654
+ "sonarjs/no-os-command-from-path": "off",
655
+ "sonarjs/os-command": "off",
656
+ "sonarjs/prefer-regexp-exec": "off",
657
+ "sonarjs/no-clear-text-protocols": "off",
658
+ "sonarjs/deprecation": "off",
659
+ "sonarjs/no-nested-conditional": "off",
660
+ "sonarjs/no-ignored-exceptions": "off",
661
+ "sonarjs/slow-regex": "off",
662
+ "sonarjs/prefer-read-only-props": "off",
663
+ "sonarjs/no-skipped-tests": "off",
664
+ "sonarjs/no-commented-code": "off",
665
+ "sonarjs/no-ignored-return": "off",
666
+ "sonarjs/array-callback-without-return": "off",
667
+ "sonarjs/pseudo-random": "off",
668
+ "sonarjs/no-nested-functions": "off",
669
+ "sonarjs/no-async-constructor": "off",
670
+ "sonarjs/assertions-in-tests": "off",
671
+ "sonarjs/function-return-type": "off",
672
+ "sonarjs/no-unused-vars": "off",
673
+ "sonarjs/no-invariant-returns": "off",
674
+ "sonarjs/different-types-comparison": "off",
675
+ "sonarjs/no-selector-parameter": "off",
676
+ "sonarjs/anchor-precedence": "off",
677
+ "sonarjs/redundant-type-aliases": "off",
678
+ "sonarjs/no-redundant-optional": "off",
679
+ "sonarjs/reduce-initial-value": "off",
680
+ "sonarjs/no-globals-shadowing": "off",
681
+ "sonarjs/use-type-alias": "off",
682
+ "sonarjs/void-use": "off",
683
+ "sonarjs/no-undefined-argument": "off",
684
+ "sonarjs/no-useless-react-setstate": "off",
685
+ "sonarjs/no-inverted-boolean-check": "off",
686
+ "sonarjs/concise-regex": "off",
687
+ "sonarjs/no-dead-store": "off",
688
+ "sonarjs/public-static-readonly": "off",
689
+ "sonarjs/code-eval": "off",
690
+ "sonarjs/no-misleading-array-reverse": "off",
691
+ "sonarjs/fixme-tag": "off",
692
+ "sonarjs/argument-type": "off",
693
+ "sonarjs/constructor-for-side-effects": "off",
694
+ "sonarjs/no-useless-intersection": "off",
695
+ "sonarjs/no-empty-test-file": "off",
696
+ "sonarjs/prefer-default-last": "off",
697
+ "sonarjs/prefer-promise-shorthand": "off",
698
+ "sonarjs/no-unsafe-unzip": "off",
699
+ "sonarjs/no-nested-assignment": "off",
700
+ "sonarjs/generator-without-yield": "off",
701
+ "sonarjs/no-try-promise": "off",
702
+ "sonarjs/single-character-alternation": "off",
703
+ "sonarjs/class-name": "off",
704
+ "sonarjs/no-hardcoded-secrets": "off",
705
+ "sonarjs/regex-complexity": "off",
706
+ "sonarjs/post-message": "off",
707
+ "sonarjs/link-with-target-blank": "off",
708
+ "sonarjs/duplicates-in-character-class": "off",
709
+ "sonarjs/arguments-order": "off",
710
+ "sonarjs/empty-string-repetition": "off",
711
+ "sonarjs/table-header": "off",
712
+ "sonarjs/no-implicit-global": "off",
713
+ "sonarjs/no-control-regex": "off",
653
714
  "no-caller": 2,
654
715
  "no-eval": 2,
655
716
  "no-delete-var": 2,
@@ -5,7 +5,6 @@
5
5
  "import",
6
6
  "no-only-tests",
7
7
  "sonarjs",
8
- "eslint-comments",
9
8
  "import-esm"
10
9
  ],
11
10
  "extends": [
@@ -13,7 +12,7 @@
13
12
  "plugin:import/errors",
14
13
  "plugin:prettier/recommended",
15
14
  "plugin:regexp/recommended",
16
- "plugin:sonarjs/recommended",
15
+ "plugin:sonarjs/recommended-legacy",
17
16
  "plugin:import-esm/recommended"
18
17
  ],
19
18
  "rules": {
@@ -651,7 +650,69 @@
651
650
  "regexp/prefer-w": "off",
652
651
  "sonarjs/no-duplicate-string": "off",
653
652
  "sonarjs/cognitive-complexity": "warn",
654
- "eslint-comments/no-unused-disable": "error",
653
+ "sonarjs/todo-tag": "warn",
654
+ "sonarjs/no-hardcoded-passwords": "off",
655
+ "sonarjs/no-alphabetical-sort": "off",
656
+ "sonarjs/no-os-command-from-path": "off",
657
+ "sonarjs/os-command": "off",
658
+ "sonarjs/prefer-regexp-exec": "off",
659
+ "sonarjs/no-clear-text-protocols": "off",
660
+ "sonarjs/deprecation": "off",
661
+ "sonarjs/no-nested-conditional": "off",
662
+ "sonarjs/no-ignored-exceptions": "off",
663
+ "sonarjs/slow-regex": "off",
664
+ "sonarjs/prefer-read-only-props": "off",
665
+ "sonarjs/no-skipped-tests": "off",
666
+ "sonarjs/no-commented-code": "off",
667
+ "sonarjs/no-ignored-return": "off",
668
+ "sonarjs/array-callback-without-return": "off",
669
+ "sonarjs/pseudo-random": "off",
670
+ "sonarjs/no-nested-functions": "off",
671
+ "sonarjs/no-async-constructor": "off",
672
+ "sonarjs/assertions-in-tests": "off",
673
+ "sonarjs/function-return-type": "off",
674
+ "sonarjs/no-unused-vars": "off",
675
+ "sonarjs/no-invariant-returns": "off",
676
+ "sonarjs/different-types-comparison": "off",
677
+ "sonarjs/no-selector-parameter": "off",
678
+ "sonarjs/anchor-precedence": "off",
679
+ "sonarjs/redundant-type-aliases": "off",
680
+ "sonarjs/no-redundant-optional": "off",
681
+ "sonarjs/reduce-initial-value": "off",
682
+ "sonarjs/no-globals-shadowing": "off",
683
+ "sonarjs/use-type-alias": "off",
684
+ "sonarjs/void-use": "off",
685
+ "sonarjs/no-undefined-argument": "off",
686
+ "sonarjs/no-useless-react-setstate": "off",
687
+ "sonarjs/no-inverted-boolean-check": "off",
688
+ "sonarjs/concise-regex": "off",
689
+ "sonarjs/no-dead-store": "off",
690
+ "sonarjs/public-static-readonly": "off",
691
+ "sonarjs/code-eval": "off",
692
+ "sonarjs/no-misleading-array-reverse": "off",
693
+ "sonarjs/fixme-tag": "off",
694
+ "sonarjs/argument-type": "off",
695
+ "sonarjs/constructor-for-side-effects": "off",
696
+ "sonarjs/no-useless-intersection": "off",
697
+ "sonarjs/no-empty-test-file": "off",
698
+ "sonarjs/prefer-default-last": "off",
699
+ "sonarjs/prefer-promise-shorthand": "off",
700
+ "sonarjs/no-unsafe-unzip": "off",
701
+ "sonarjs/no-nested-assignment": "off",
702
+ "sonarjs/generator-without-yield": "off",
703
+ "sonarjs/no-try-promise": "off",
704
+ "sonarjs/single-character-alternation": "off",
705
+ "sonarjs/class-name": "off",
706
+ "sonarjs/no-hardcoded-secrets": "off",
707
+ "sonarjs/regex-complexity": "off",
708
+ "sonarjs/post-message": "off",
709
+ "sonarjs/link-with-target-blank": "off",
710
+ "sonarjs/duplicates-in-character-class": "off",
711
+ "sonarjs/arguments-order": "off",
712
+ "sonarjs/empty-string-repetition": "off",
713
+ "sonarjs/table-header": "off",
714
+ "sonarjs/no-implicit-global": "off",
715
+ "sonarjs/no-control-regex": "off",
655
716
  "no-caller": 2,
656
717
  "no-eval": 2,
657
718
  "no-delete-var": 2,
package/dist/browser.json CHANGED
@@ -4,15 +4,14 @@
4
4
  "no-barrel-files",
5
5
  "import",
6
6
  "no-only-tests",
7
- "sonarjs",
8
- "eslint-comments"
7
+ "sonarjs"
9
8
  ],
10
9
  "extends": [
11
10
  "eslint:recommended",
12
11
  "plugin:import/errors",
13
12
  "plugin:prettier/recommended",
14
13
  "plugin:regexp/recommended",
15
- "plugin:sonarjs/recommended"
14
+ "plugin:sonarjs/recommended-legacy"
16
15
  ],
17
16
  "rules": {
18
17
  "no-console": [
@@ -649,7 +648,69 @@
649
648
  "regexp/prefer-w": "off",
650
649
  "sonarjs/no-duplicate-string": "off",
651
650
  "sonarjs/cognitive-complexity": "warn",
652
- "eslint-comments/no-unused-disable": "error",
651
+ "sonarjs/todo-tag": "warn",
652
+ "sonarjs/no-hardcoded-passwords": "off",
653
+ "sonarjs/no-alphabetical-sort": "off",
654
+ "sonarjs/no-os-command-from-path": "off",
655
+ "sonarjs/os-command": "off",
656
+ "sonarjs/prefer-regexp-exec": "off",
657
+ "sonarjs/no-clear-text-protocols": "off",
658
+ "sonarjs/deprecation": "off",
659
+ "sonarjs/no-nested-conditional": "off",
660
+ "sonarjs/no-ignored-exceptions": "off",
661
+ "sonarjs/slow-regex": "off",
662
+ "sonarjs/prefer-read-only-props": "off",
663
+ "sonarjs/no-skipped-tests": "off",
664
+ "sonarjs/no-commented-code": "off",
665
+ "sonarjs/no-ignored-return": "off",
666
+ "sonarjs/array-callback-without-return": "off",
667
+ "sonarjs/pseudo-random": "off",
668
+ "sonarjs/no-nested-functions": "off",
669
+ "sonarjs/no-async-constructor": "off",
670
+ "sonarjs/assertions-in-tests": "off",
671
+ "sonarjs/function-return-type": "off",
672
+ "sonarjs/no-unused-vars": "off",
673
+ "sonarjs/no-invariant-returns": "off",
674
+ "sonarjs/different-types-comparison": "off",
675
+ "sonarjs/no-selector-parameter": "off",
676
+ "sonarjs/anchor-precedence": "off",
677
+ "sonarjs/redundant-type-aliases": "off",
678
+ "sonarjs/no-redundant-optional": "off",
679
+ "sonarjs/reduce-initial-value": "off",
680
+ "sonarjs/no-globals-shadowing": "off",
681
+ "sonarjs/use-type-alias": "off",
682
+ "sonarjs/void-use": "off",
683
+ "sonarjs/no-undefined-argument": "off",
684
+ "sonarjs/no-useless-react-setstate": "off",
685
+ "sonarjs/no-inverted-boolean-check": "off",
686
+ "sonarjs/concise-regex": "off",
687
+ "sonarjs/no-dead-store": "off",
688
+ "sonarjs/public-static-readonly": "off",
689
+ "sonarjs/code-eval": "off",
690
+ "sonarjs/no-misleading-array-reverse": "off",
691
+ "sonarjs/fixme-tag": "off",
692
+ "sonarjs/argument-type": "off",
693
+ "sonarjs/constructor-for-side-effects": "off",
694
+ "sonarjs/no-useless-intersection": "off",
695
+ "sonarjs/no-empty-test-file": "off",
696
+ "sonarjs/prefer-default-last": "off",
697
+ "sonarjs/prefer-promise-shorthand": "off",
698
+ "sonarjs/no-unsafe-unzip": "off",
699
+ "sonarjs/no-nested-assignment": "off",
700
+ "sonarjs/generator-without-yield": "off",
701
+ "sonarjs/no-try-promise": "off",
702
+ "sonarjs/single-character-alternation": "off",
703
+ "sonarjs/class-name": "off",
704
+ "sonarjs/no-hardcoded-secrets": "off",
705
+ "sonarjs/regex-complexity": "off",
706
+ "sonarjs/post-message": "off",
707
+ "sonarjs/link-with-target-blank": "off",
708
+ "sonarjs/duplicates-in-character-class": "off",
709
+ "sonarjs/arguments-order": "off",
710
+ "sonarjs/empty-string-repetition": "off",
711
+ "sonarjs/table-header": "off",
712
+ "sonarjs/no-implicit-global": "off",
713
+ "sonarjs/no-control-regex": "off",
653
714
  "no-caller": 2,
654
715
  "no-eval": 2,
655
716
  "no-delete-var": 2,
@@ -5,7 +5,6 @@
5
5
  "import",
6
6
  "no-only-tests",
7
7
  "sonarjs",
8
- "eslint-comments",
9
8
  "react",
10
9
  "react-hooks",
11
10
  "import-esm",
@@ -17,7 +16,7 @@
17
16
  "plugin:import/errors",
18
17
  "plugin:prettier/recommended",
19
18
  "plugin:regexp/recommended",
20
- "plugin:sonarjs/recommended",
19
+ "plugin:sonarjs/recommended-legacy",
21
20
  "plugin:react-hooks/recommended",
22
21
  "plugin:import-esm/recommended",
23
22
  "plugin:cypress/recommended"
@@ -657,7 +656,69 @@
657
656
  "regexp/prefer-w": "off",
658
657
  "sonarjs/no-duplicate-string": "off",
659
658
  "sonarjs/cognitive-complexity": "warn",
660
- "eslint-comments/no-unused-disable": "error",
659
+ "sonarjs/todo-tag": "warn",
660
+ "sonarjs/no-hardcoded-passwords": "off",
661
+ "sonarjs/no-alphabetical-sort": "off",
662
+ "sonarjs/no-os-command-from-path": "off",
663
+ "sonarjs/os-command": "off",
664
+ "sonarjs/prefer-regexp-exec": "off",
665
+ "sonarjs/no-clear-text-protocols": "off",
666
+ "sonarjs/deprecation": "off",
667
+ "sonarjs/no-nested-conditional": "off",
668
+ "sonarjs/no-ignored-exceptions": "off",
669
+ "sonarjs/slow-regex": "off",
670
+ "sonarjs/prefer-read-only-props": "off",
671
+ "sonarjs/no-skipped-tests": "off",
672
+ "sonarjs/no-commented-code": "off",
673
+ "sonarjs/no-ignored-return": "off",
674
+ "sonarjs/array-callback-without-return": "off",
675
+ "sonarjs/pseudo-random": "off",
676
+ "sonarjs/no-nested-functions": "off",
677
+ "sonarjs/no-async-constructor": "off",
678
+ "sonarjs/assertions-in-tests": "off",
679
+ "sonarjs/function-return-type": "off",
680
+ "sonarjs/no-unused-vars": "off",
681
+ "sonarjs/no-invariant-returns": "off",
682
+ "sonarjs/different-types-comparison": "off",
683
+ "sonarjs/no-selector-parameter": "off",
684
+ "sonarjs/anchor-precedence": "off",
685
+ "sonarjs/redundant-type-aliases": "off",
686
+ "sonarjs/no-redundant-optional": "off",
687
+ "sonarjs/reduce-initial-value": "off",
688
+ "sonarjs/no-globals-shadowing": "off",
689
+ "sonarjs/use-type-alias": "off",
690
+ "sonarjs/void-use": "off",
691
+ "sonarjs/no-undefined-argument": "off",
692
+ "sonarjs/no-useless-react-setstate": "off",
693
+ "sonarjs/no-inverted-boolean-check": "off",
694
+ "sonarjs/concise-regex": "off",
695
+ "sonarjs/no-dead-store": "off",
696
+ "sonarjs/public-static-readonly": "off",
697
+ "sonarjs/code-eval": "off",
698
+ "sonarjs/no-misleading-array-reverse": "off",
699
+ "sonarjs/fixme-tag": "off",
700
+ "sonarjs/argument-type": "off",
701
+ "sonarjs/constructor-for-side-effects": "off",
702
+ "sonarjs/no-useless-intersection": "off",
703
+ "sonarjs/no-empty-test-file": "off",
704
+ "sonarjs/prefer-default-last": "off",
705
+ "sonarjs/prefer-promise-shorthand": "off",
706
+ "sonarjs/no-unsafe-unzip": "off",
707
+ "sonarjs/no-nested-assignment": "off",
708
+ "sonarjs/generator-without-yield": "off",
709
+ "sonarjs/no-try-promise": "off",
710
+ "sonarjs/single-character-alternation": "off",
711
+ "sonarjs/class-name": "off",
712
+ "sonarjs/no-hardcoded-secrets": "off",
713
+ "sonarjs/regex-complexity": "off",
714
+ "sonarjs/post-message": "off",
715
+ "sonarjs/link-with-target-blank": "off",
716
+ "sonarjs/duplicates-in-character-class": "off",
717
+ "sonarjs/arguments-order": "off",
718
+ "sonarjs/empty-string-repetition": "off",
719
+ "sonarjs/table-header": "off",
720
+ "sonarjs/no-implicit-global": "off",
721
+ "sonarjs/no-control-regex": "off",
661
722
  "no-caller": 2,
662
723
  "no-eval": 2,
663
724
  "no-delete-var": 2,
@@ -5,7 +5,6 @@
5
5
  "import",
6
6
  "no-only-tests",
7
7
  "sonarjs",
8
- "eslint-comments",
9
8
  "react",
10
9
  "react-hooks",
11
10
  "import-esm",
@@ -16,7 +15,7 @@
16
15
  "plugin:import/errors",
17
16
  "plugin:prettier/recommended",
18
17
  "plugin:regexp/recommended",
19
- "plugin:sonarjs/recommended",
18
+ "plugin:sonarjs/recommended-legacy",
20
19
  "plugin:react-hooks/recommended",
21
20
  "plugin:import-esm/recommended",
22
21
  "plugin:@vitest/legacy-recommended"
@@ -656,7 +655,69 @@
656
655
  "regexp/prefer-w": "off",
657
656
  "sonarjs/no-duplicate-string": "off",
658
657
  "sonarjs/cognitive-complexity": "warn",
659
- "eslint-comments/no-unused-disable": "error",
658
+ "sonarjs/todo-tag": "warn",
659
+ "sonarjs/no-hardcoded-passwords": "off",
660
+ "sonarjs/no-alphabetical-sort": "off",
661
+ "sonarjs/no-os-command-from-path": "off",
662
+ "sonarjs/os-command": "off",
663
+ "sonarjs/prefer-regexp-exec": "off",
664
+ "sonarjs/no-clear-text-protocols": "off",
665
+ "sonarjs/deprecation": "off",
666
+ "sonarjs/no-nested-conditional": "off",
667
+ "sonarjs/no-ignored-exceptions": "off",
668
+ "sonarjs/slow-regex": "off",
669
+ "sonarjs/prefer-read-only-props": "off",
670
+ "sonarjs/no-skipped-tests": "off",
671
+ "sonarjs/no-commented-code": "off",
672
+ "sonarjs/no-ignored-return": "off",
673
+ "sonarjs/array-callback-without-return": "off",
674
+ "sonarjs/pseudo-random": "off",
675
+ "sonarjs/no-nested-functions": "off",
676
+ "sonarjs/no-async-constructor": "off",
677
+ "sonarjs/assertions-in-tests": "off",
678
+ "sonarjs/function-return-type": "off",
679
+ "sonarjs/no-unused-vars": "off",
680
+ "sonarjs/no-invariant-returns": "off",
681
+ "sonarjs/different-types-comparison": "off",
682
+ "sonarjs/no-selector-parameter": "off",
683
+ "sonarjs/anchor-precedence": "off",
684
+ "sonarjs/redundant-type-aliases": "off",
685
+ "sonarjs/no-redundant-optional": "off",
686
+ "sonarjs/reduce-initial-value": "off",
687
+ "sonarjs/no-globals-shadowing": "off",
688
+ "sonarjs/use-type-alias": "off",
689
+ "sonarjs/void-use": "off",
690
+ "sonarjs/no-undefined-argument": "off",
691
+ "sonarjs/no-useless-react-setstate": "off",
692
+ "sonarjs/no-inverted-boolean-check": "off",
693
+ "sonarjs/concise-regex": "off",
694
+ "sonarjs/no-dead-store": "off",
695
+ "sonarjs/public-static-readonly": "off",
696
+ "sonarjs/code-eval": "off",
697
+ "sonarjs/no-misleading-array-reverse": "off",
698
+ "sonarjs/fixme-tag": "off",
699
+ "sonarjs/argument-type": "off",
700
+ "sonarjs/constructor-for-side-effects": "off",
701
+ "sonarjs/no-useless-intersection": "off",
702
+ "sonarjs/no-empty-test-file": "off",
703
+ "sonarjs/prefer-default-last": "off",
704
+ "sonarjs/prefer-promise-shorthand": "off",
705
+ "sonarjs/no-unsafe-unzip": "off",
706
+ "sonarjs/no-nested-assignment": "off",
707
+ "sonarjs/generator-without-yield": "off",
708
+ "sonarjs/no-try-promise": "off",
709
+ "sonarjs/single-character-alternation": "off",
710
+ "sonarjs/class-name": "off",
711
+ "sonarjs/no-hardcoded-secrets": "off",
712
+ "sonarjs/regex-complexity": "off",
713
+ "sonarjs/post-message": "off",
714
+ "sonarjs/link-with-target-blank": "off",
715
+ "sonarjs/duplicates-in-character-class": "off",
716
+ "sonarjs/arguments-order": "off",
717
+ "sonarjs/empty-string-repetition": "off",
718
+ "sonarjs/table-header": "off",
719
+ "sonarjs/no-implicit-global": "off",
720
+ "sonarjs/no-control-regex": "off",
660
721
  "no-caller": 2,
661
722
  "no-eval": 2,
662
723
  "no-delete-var": 2,
@@ -5,7 +5,6 @@
5
5
  "import",
6
6
  "no-only-tests",
7
7
  "sonarjs",
8
- "eslint-comments",
9
8
  "react",
10
9
  "react-hooks",
11
10
  "import-esm",
@@ -16,7 +15,7 @@
16
15
  "plugin:import/errors",
17
16
  "plugin:prettier/recommended",
18
17
  "plugin:regexp/recommended",
19
- "plugin:sonarjs/recommended",
18
+ "plugin:sonarjs/recommended-legacy",
20
19
  "plugin:react-hooks/recommended",
21
20
  "plugin:import-esm/recommended",
22
21
  "plugin:@vitest/legacy-recommended"
@@ -656,7 +655,69 @@
656
655
  "regexp/prefer-w": "off",
657
656
  "sonarjs/no-duplicate-string": "off",
658
657
  "sonarjs/cognitive-complexity": "warn",
659
- "eslint-comments/no-unused-disable": "error",
658
+ "sonarjs/todo-tag": "warn",
659
+ "sonarjs/no-hardcoded-passwords": "off",
660
+ "sonarjs/no-alphabetical-sort": "off",
661
+ "sonarjs/no-os-command-from-path": "off",
662
+ "sonarjs/os-command": "off",
663
+ "sonarjs/prefer-regexp-exec": "off",
664
+ "sonarjs/no-clear-text-protocols": "off",
665
+ "sonarjs/deprecation": "off",
666
+ "sonarjs/no-nested-conditional": "off",
667
+ "sonarjs/no-ignored-exceptions": "off",
668
+ "sonarjs/slow-regex": "off",
669
+ "sonarjs/prefer-read-only-props": "off",
670
+ "sonarjs/no-skipped-tests": "off",
671
+ "sonarjs/no-commented-code": "off",
672
+ "sonarjs/no-ignored-return": "off",
673
+ "sonarjs/array-callback-without-return": "off",
674
+ "sonarjs/pseudo-random": "off",
675
+ "sonarjs/no-nested-functions": "off",
676
+ "sonarjs/no-async-constructor": "off",
677
+ "sonarjs/assertions-in-tests": "off",
678
+ "sonarjs/function-return-type": "off",
679
+ "sonarjs/no-unused-vars": "off",
680
+ "sonarjs/no-invariant-returns": "off",
681
+ "sonarjs/different-types-comparison": "off",
682
+ "sonarjs/no-selector-parameter": "off",
683
+ "sonarjs/anchor-precedence": "off",
684
+ "sonarjs/redundant-type-aliases": "off",
685
+ "sonarjs/no-redundant-optional": "off",
686
+ "sonarjs/reduce-initial-value": "off",
687
+ "sonarjs/no-globals-shadowing": "off",
688
+ "sonarjs/use-type-alias": "off",
689
+ "sonarjs/void-use": "off",
690
+ "sonarjs/no-undefined-argument": "off",
691
+ "sonarjs/no-useless-react-setstate": "off",
692
+ "sonarjs/no-inverted-boolean-check": "off",
693
+ "sonarjs/concise-regex": "off",
694
+ "sonarjs/no-dead-store": "off",
695
+ "sonarjs/public-static-readonly": "off",
696
+ "sonarjs/code-eval": "off",
697
+ "sonarjs/no-misleading-array-reverse": "off",
698
+ "sonarjs/fixme-tag": "off",
699
+ "sonarjs/argument-type": "off",
700
+ "sonarjs/constructor-for-side-effects": "off",
701
+ "sonarjs/no-useless-intersection": "off",
702
+ "sonarjs/no-empty-test-file": "off",
703
+ "sonarjs/prefer-default-last": "off",
704
+ "sonarjs/prefer-promise-shorthand": "off",
705
+ "sonarjs/no-unsafe-unzip": "off",
706
+ "sonarjs/no-nested-assignment": "off",
707
+ "sonarjs/generator-without-yield": "off",
708
+ "sonarjs/no-try-promise": "off",
709
+ "sonarjs/single-character-alternation": "off",
710
+ "sonarjs/class-name": "off",
711
+ "sonarjs/no-hardcoded-secrets": "off",
712
+ "sonarjs/regex-complexity": "off",
713
+ "sonarjs/post-message": "off",
714
+ "sonarjs/link-with-target-blank": "off",
715
+ "sonarjs/duplicates-in-character-class": "off",
716
+ "sonarjs/arguments-order": "off",
717
+ "sonarjs/empty-string-repetition": "off",
718
+ "sonarjs/table-header": "off",
719
+ "sonarjs/no-implicit-global": "off",
720
+ "sonarjs/no-control-regex": "off",
660
721
  "no-caller": 2,
661
722
  "no-eval": 2,
662
723
  "no-delete-var": 2,
@@ -5,7 +5,6 @@
5
5
  "import",
6
6
  "no-only-tests",
7
7
  "sonarjs",
8
- "eslint-comments",
9
8
  "react",
10
9
  "react-hooks",
11
10
  "import-esm"
@@ -15,7 +14,7 @@
15
14
  "plugin:import/errors",
16
15
  "plugin:prettier/recommended",
17
16
  "plugin:regexp/recommended",
18
- "plugin:sonarjs/recommended",
17
+ "plugin:sonarjs/recommended-legacy",
19
18
  "plugin:react-hooks/recommended",
20
19
  "plugin:import-esm/recommended"
21
20
  ],
@@ -654,7 +653,69 @@
654
653
  "regexp/prefer-w": "off",
655
654
  "sonarjs/no-duplicate-string": "off",
656
655
  "sonarjs/cognitive-complexity": "warn",
657
- "eslint-comments/no-unused-disable": "error",
656
+ "sonarjs/todo-tag": "warn",
657
+ "sonarjs/no-hardcoded-passwords": "off",
658
+ "sonarjs/no-alphabetical-sort": "off",
659
+ "sonarjs/no-os-command-from-path": "off",
660
+ "sonarjs/os-command": "off",
661
+ "sonarjs/prefer-regexp-exec": "off",
662
+ "sonarjs/no-clear-text-protocols": "off",
663
+ "sonarjs/deprecation": "off",
664
+ "sonarjs/no-nested-conditional": "off",
665
+ "sonarjs/no-ignored-exceptions": "off",
666
+ "sonarjs/slow-regex": "off",
667
+ "sonarjs/prefer-read-only-props": "off",
668
+ "sonarjs/no-skipped-tests": "off",
669
+ "sonarjs/no-commented-code": "off",
670
+ "sonarjs/no-ignored-return": "off",
671
+ "sonarjs/array-callback-without-return": "off",
672
+ "sonarjs/pseudo-random": "off",
673
+ "sonarjs/no-nested-functions": "off",
674
+ "sonarjs/no-async-constructor": "off",
675
+ "sonarjs/assertions-in-tests": "off",
676
+ "sonarjs/function-return-type": "off",
677
+ "sonarjs/no-unused-vars": "off",
678
+ "sonarjs/no-invariant-returns": "off",
679
+ "sonarjs/different-types-comparison": "off",
680
+ "sonarjs/no-selector-parameter": "off",
681
+ "sonarjs/anchor-precedence": "off",
682
+ "sonarjs/redundant-type-aliases": "off",
683
+ "sonarjs/no-redundant-optional": "off",
684
+ "sonarjs/reduce-initial-value": "off",
685
+ "sonarjs/no-globals-shadowing": "off",
686
+ "sonarjs/use-type-alias": "off",
687
+ "sonarjs/void-use": "off",
688
+ "sonarjs/no-undefined-argument": "off",
689
+ "sonarjs/no-useless-react-setstate": "off",
690
+ "sonarjs/no-inverted-boolean-check": "off",
691
+ "sonarjs/concise-regex": "off",
692
+ "sonarjs/no-dead-store": "off",
693
+ "sonarjs/public-static-readonly": "off",
694
+ "sonarjs/code-eval": "off",
695
+ "sonarjs/no-misleading-array-reverse": "off",
696
+ "sonarjs/fixme-tag": "off",
697
+ "sonarjs/argument-type": "off",
698
+ "sonarjs/constructor-for-side-effects": "off",
699
+ "sonarjs/no-useless-intersection": "off",
700
+ "sonarjs/no-empty-test-file": "off",
701
+ "sonarjs/prefer-default-last": "off",
702
+ "sonarjs/prefer-promise-shorthand": "off",
703
+ "sonarjs/no-unsafe-unzip": "off",
704
+ "sonarjs/no-nested-assignment": "off",
705
+ "sonarjs/generator-without-yield": "off",
706
+ "sonarjs/no-try-promise": "off",
707
+ "sonarjs/single-character-alternation": "off",
708
+ "sonarjs/class-name": "off",
709
+ "sonarjs/no-hardcoded-secrets": "off",
710
+ "sonarjs/regex-complexity": "off",
711
+ "sonarjs/post-message": "off",
712
+ "sonarjs/link-with-target-blank": "off",
713
+ "sonarjs/duplicates-in-character-class": "off",
714
+ "sonarjs/arguments-order": "off",
715
+ "sonarjs/empty-string-repetition": "off",
716
+ "sonarjs/table-header": "off",
717
+ "sonarjs/no-implicit-global": "off",
718
+ "sonarjs/no-control-regex": "off",
658
719
  "no-caller": 2,
659
720
  "no-eval": 2,
660
721
  "no-delete-var": 2,
@@ -5,7 +5,6 @@
5
5
  "import",
6
6
  "no-only-tests",
7
7
  "sonarjs",
8
- "eslint-comments",
9
8
  "import-esm",
10
9
  "@vitest"
11
10
  ],
@@ -14,7 +13,7 @@
14
13
  "plugin:import/errors",
15
14
  "plugin:prettier/recommended",
16
15
  "plugin:regexp/recommended",
17
- "plugin:sonarjs/recommended",
16
+ "plugin:sonarjs/recommended-legacy",
18
17
  "plugin:import-esm/recommended",
19
18
  "plugin:@vitest/legacy-recommended"
20
19
  ],
@@ -653,7 +652,69 @@
653
652
  "regexp/prefer-w": "off",
654
653
  "sonarjs/no-duplicate-string": "off",
655
654
  "sonarjs/cognitive-complexity": "warn",
656
- "eslint-comments/no-unused-disable": "error",
655
+ "sonarjs/todo-tag": "warn",
656
+ "sonarjs/no-hardcoded-passwords": "off",
657
+ "sonarjs/no-alphabetical-sort": "off",
658
+ "sonarjs/no-os-command-from-path": "off",
659
+ "sonarjs/os-command": "off",
660
+ "sonarjs/prefer-regexp-exec": "off",
661
+ "sonarjs/no-clear-text-protocols": "off",
662
+ "sonarjs/deprecation": "off",
663
+ "sonarjs/no-nested-conditional": "off",
664
+ "sonarjs/no-ignored-exceptions": "off",
665
+ "sonarjs/slow-regex": "off",
666
+ "sonarjs/prefer-read-only-props": "off",
667
+ "sonarjs/no-skipped-tests": "off",
668
+ "sonarjs/no-commented-code": "off",
669
+ "sonarjs/no-ignored-return": "off",
670
+ "sonarjs/array-callback-without-return": "off",
671
+ "sonarjs/pseudo-random": "off",
672
+ "sonarjs/no-nested-functions": "off",
673
+ "sonarjs/no-async-constructor": "off",
674
+ "sonarjs/assertions-in-tests": "off",
675
+ "sonarjs/function-return-type": "off",
676
+ "sonarjs/no-unused-vars": "off",
677
+ "sonarjs/no-invariant-returns": "off",
678
+ "sonarjs/different-types-comparison": "off",
679
+ "sonarjs/no-selector-parameter": "off",
680
+ "sonarjs/anchor-precedence": "off",
681
+ "sonarjs/redundant-type-aliases": "off",
682
+ "sonarjs/no-redundant-optional": "off",
683
+ "sonarjs/reduce-initial-value": "off",
684
+ "sonarjs/no-globals-shadowing": "off",
685
+ "sonarjs/use-type-alias": "off",
686
+ "sonarjs/void-use": "off",
687
+ "sonarjs/no-undefined-argument": "off",
688
+ "sonarjs/no-useless-react-setstate": "off",
689
+ "sonarjs/no-inverted-boolean-check": "off",
690
+ "sonarjs/concise-regex": "off",
691
+ "sonarjs/no-dead-store": "off",
692
+ "sonarjs/public-static-readonly": "off",
693
+ "sonarjs/code-eval": "off",
694
+ "sonarjs/no-misleading-array-reverse": "off",
695
+ "sonarjs/fixme-tag": "off",
696
+ "sonarjs/argument-type": "off",
697
+ "sonarjs/constructor-for-side-effects": "off",
698
+ "sonarjs/no-useless-intersection": "off",
699
+ "sonarjs/no-empty-test-file": "off",
700
+ "sonarjs/prefer-default-last": "off",
701
+ "sonarjs/prefer-promise-shorthand": "off",
702
+ "sonarjs/no-unsafe-unzip": "off",
703
+ "sonarjs/no-nested-assignment": "off",
704
+ "sonarjs/generator-without-yield": "off",
705
+ "sonarjs/no-try-promise": "off",
706
+ "sonarjs/single-character-alternation": "off",
707
+ "sonarjs/class-name": "off",
708
+ "sonarjs/no-hardcoded-secrets": "off",
709
+ "sonarjs/regex-complexity": "off",
710
+ "sonarjs/post-message": "off",
711
+ "sonarjs/link-with-target-blank": "off",
712
+ "sonarjs/duplicates-in-character-class": "off",
713
+ "sonarjs/arguments-order": "off",
714
+ "sonarjs/empty-string-repetition": "off",
715
+ "sonarjs/table-header": "off",
716
+ "sonarjs/no-implicit-global": "off",
717
+ "sonarjs/no-control-regex": "off",
657
718
  "no-caller": 2,
658
719
  "no-eval": 2,
659
720
  "no-delete-var": 2,
package/dist/esm.json CHANGED
@@ -5,7 +5,6 @@
5
5
  "import",
6
6
  "no-only-tests",
7
7
  "sonarjs",
8
- "eslint-comments",
9
8
  "import-esm"
10
9
  ],
11
10
  "extends": [
@@ -13,7 +12,7 @@
13
12
  "plugin:import/errors",
14
13
  "plugin:prettier/recommended",
15
14
  "plugin:regexp/recommended",
16
- "plugin:sonarjs/recommended",
15
+ "plugin:sonarjs/recommended-legacy",
17
16
  "plugin:import-esm/recommended"
18
17
  ],
19
18
  "rules": {
@@ -651,7 +650,69 @@
651
650
  "regexp/prefer-w": "off",
652
651
  "sonarjs/no-duplicate-string": "off",
653
652
  "sonarjs/cognitive-complexity": "warn",
654
- "eslint-comments/no-unused-disable": "error",
653
+ "sonarjs/todo-tag": "warn",
654
+ "sonarjs/no-hardcoded-passwords": "off",
655
+ "sonarjs/no-alphabetical-sort": "off",
656
+ "sonarjs/no-os-command-from-path": "off",
657
+ "sonarjs/os-command": "off",
658
+ "sonarjs/prefer-regexp-exec": "off",
659
+ "sonarjs/no-clear-text-protocols": "off",
660
+ "sonarjs/deprecation": "off",
661
+ "sonarjs/no-nested-conditional": "off",
662
+ "sonarjs/no-ignored-exceptions": "off",
663
+ "sonarjs/slow-regex": "off",
664
+ "sonarjs/prefer-read-only-props": "off",
665
+ "sonarjs/no-skipped-tests": "off",
666
+ "sonarjs/no-commented-code": "off",
667
+ "sonarjs/no-ignored-return": "off",
668
+ "sonarjs/array-callback-without-return": "off",
669
+ "sonarjs/pseudo-random": "off",
670
+ "sonarjs/no-nested-functions": "off",
671
+ "sonarjs/no-async-constructor": "off",
672
+ "sonarjs/assertions-in-tests": "off",
673
+ "sonarjs/function-return-type": "off",
674
+ "sonarjs/no-unused-vars": "off",
675
+ "sonarjs/no-invariant-returns": "off",
676
+ "sonarjs/different-types-comparison": "off",
677
+ "sonarjs/no-selector-parameter": "off",
678
+ "sonarjs/anchor-precedence": "off",
679
+ "sonarjs/redundant-type-aliases": "off",
680
+ "sonarjs/no-redundant-optional": "off",
681
+ "sonarjs/reduce-initial-value": "off",
682
+ "sonarjs/no-globals-shadowing": "off",
683
+ "sonarjs/use-type-alias": "off",
684
+ "sonarjs/void-use": "off",
685
+ "sonarjs/no-undefined-argument": "off",
686
+ "sonarjs/no-useless-react-setstate": "off",
687
+ "sonarjs/no-inverted-boolean-check": "off",
688
+ "sonarjs/concise-regex": "off",
689
+ "sonarjs/no-dead-store": "off",
690
+ "sonarjs/public-static-readonly": "off",
691
+ "sonarjs/code-eval": "off",
692
+ "sonarjs/no-misleading-array-reverse": "off",
693
+ "sonarjs/fixme-tag": "off",
694
+ "sonarjs/argument-type": "off",
695
+ "sonarjs/constructor-for-side-effects": "off",
696
+ "sonarjs/no-useless-intersection": "off",
697
+ "sonarjs/no-empty-test-file": "off",
698
+ "sonarjs/prefer-default-last": "off",
699
+ "sonarjs/prefer-promise-shorthand": "off",
700
+ "sonarjs/no-unsafe-unzip": "off",
701
+ "sonarjs/no-nested-assignment": "off",
702
+ "sonarjs/generator-without-yield": "off",
703
+ "sonarjs/no-try-promise": "off",
704
+ "sonarjs/single-character-alternation": "off",
705
+ "sonarjs/class-name": "off",
706
+ "sonarjs/no-hardcoded-secrets": "off",
707
+ "sonarjs/regex-complexity": "off",
708
+ "sonarjs/post-message": "off",
709
+ "sonarjs/link-with-target-blank": "off",
710
+ "sonarjs/duplicates-in-character-class": "off",
711
+ "sonarjs/arguments-order": "off",
712
+ "sonarjs/empty-string-repetition": "off",
713
+ "sonarjs/table-header": "off",
714
+ "sonarjs/no-implicit-global": "off",
715
+ "sonarjs/no-control-regex": "off",
655
716
  "no-caller": 2,
656
717
  "no-eval": 2,
657
718
  "no-delete-var": 2,
@@ -5,7 +5,6 @@
5
5
  "import",
6
6
  "no-only-tests",
7
7
  "sonarjs",
8
- "eslint-comments",
9
8
  "react",
10
9
  "react-hooks",
11
10
  "cypress",
@@ -16,7 +15,7 @@
16
15
  "plugin:import/errors",
17
16
  "plugin:prettier/recommended",
18
17
  "plugin:regexp/recommended",
19
- "plugin:sonarjs/recommended",
18
+ "plugin:sonarjs/recommended-legacy",
20
19
  "plugin:react-hooks/recommended",
21
20
  "plugin:cypress/recommended"
22
21
  ],
@@ -655,7 +654,69 @@
655
654
  "regexp/prefer-w": "off",
656
655
  "sonarjs/no-duplicate-string": "off",
657
656
  "sonarjs/cognitive-complexity": "warn",
658
- "eslint-comments/no-unused-disable": "error",
657
+ "sonarjs/todo-tag": "warn",
658
+ "sonarjs/no-hardcoded-passwords": "off",
659
+ "sonarjs/no-alphabetical-sort": "off",
660
+ "sonarjs/no-os-command-from-path": "off",
661
+ "sonarjs/os-command": "off",
662
+ "sonarjs/prefer-regexp-exec": "off",
663
+ "sonarjs/no-clear-text-protocols": "off",
664
+ "sonarjs/deprecation": "off",
665
+ "sonarjs/no-nested-conditional": "off",
666
+ "sonarjs/no-ignored-exceptions": "off",
667
+ "sonarjs/slow-regex": "off",
668
+ "sonarjs/prefer-read-only-props": "off",
669
+ "sonarjs/no-skipped-tests": "off",
670
+ "sonarjs/no-commented-code": "off",
671
+ "sonarjs/no-ignored-return": "off",
672
+ "sonarjs/array-callback-without-return": "off",
673
+ "sonarjs/pseudo-random": "off",
674
+ "sonarjs/no-nested-functions": "off",
675
+ "sonarjs/no-async-constructor": "off",
676
+ "sonarjs/assertions-in-tests": "off",
677
+ "sonarjs/function-return-type": "off",
678
+ "sonarjs/no-unused-vars": "off",
679
+ "sonarjs/no-invariant-returns": "off",
680
+ "sonarjs/different-types-comparison": "off",
681
+ "sonarjs/no-selector-parameter": "off",
682
+ "sonarjs/anchor-precedence": "off",
683
+ "sonarjs/redundant-type-aliases": "off",
684
+ "sonarjs/no-redundant-optional": "off",
685
+ "sonarjs/reduce-initial-value": "off",
686
+ "sonarjs/no-globals-shadowing": "off",
687
+ "sonarjs/use-type-alias": "off",
688
+ "sonarjs/void-use": "off",
689
+ "sonarjs/no-undefined-argument": "off",
690
+ "sonarjs/no-useless-react-setstate": "off",
691
+ "sonarjs/no-inverted-boolean-check": "off",
692
+ "sonarjs/concise-regex": "off",
693
+ "sonarjs/no-dead-store": "off",
694
+ "sonarjs/public-static-readonly": "off",
695
+ "sonarjs/code-eval": "off",
696
+ "sonarjs/no-misleading-array-reverse": "off",
697
+ "sonarjs/fixme-tag": "off",
698
+ "sonarjs/argument-type": "off",
699
+ "sonarjs/constructor-for-side-effects": "off",
700
+ "sonarjs/no-useless-intersection": "off",
701
+ "sonarjs/no-empty-test-file": "off",
702
+ "sonarjs/prefer-default-last": "off",
703
+ "sonarjs/prefer-promise-shorthand": "off",
704
+ "sonarjs/no-unsafe-unzip": "off",
705
+ "sonarjs/no-nested-assignment": "off",
706
+ "sonarjs/generator-without-yield": "off",
707
+ "sonarjs/no-try-promise": "off",
708
+ "sonarjs/single-character-alternation": "off",
709
+ "sonarjs/class-name": "off",
710
+ "sonarjs/no-hardcoded-secrets": "off",
711
+ "sonarjs/regex-complexity": "off",
712
+ "sonarjs/post-message": "off",
713
+ "sonarjs/link-with-target-blank": "off",
714
+ "sonarjs/duplicates-in-character-class": "off",
715
+ "sonarjs/arguments-order": "off",
716
+ "sonarjs/empty-string-repetition": "off",
717
+ "sonarjs/table-header": "off",
718
+ "sonarjs/no-implicit-global": "off",
719
+ "sonarjs/no-control-regex": "off",
659
720
  "no-caller": 2,
660
721
  "no-eval": 2,
661
722
  "no-delete-var": 2,
@@ -5,7 +5,6 @@
5
5
  "import",
6
6
  "no-only-tests",
7
7
  "sonarjs",
8
- "eslint-comments",
9
8
  "react",
10
9
  "react-hooks",
11
10
  "@vitest"
@@ -15,7 +14,7 @@
15
14
  "plugin:import/errors",
16
15
  "plugin:prettier/recommended",
17
16
  "plugin:regexp/recommended",
18
- "plugin:sonarjs/recommended",
17
+ "plugin:sonarjs/recommended-legacy",
19
18
  "plugin:react-hooks/recommended",
20
19
  "plugin:@vitest/legacy-recommended"
21
20
  ],
@@ -654,7 +653,69 @@
654
653
  "regexp/prefer-w": "off",
655
654
  "sonarjs/no-duplicate-string": "off",
656
655
  "sonarjs/cognitive-complexity": "warn",
657
- "eslint-comments/no-unused-disable": "error",
656
+ "sonarjs/todo-tag": "warn",
657
+ "sonarjs/no-hardcoded-passwords": "off",
658
+ "sonarjs/no-alphabetical-sort": "off",
659
+ "sonarjs/no-os-command-from-path": "off",
660
+ "sonarjs/os-command": "off",
661
+ "sonarjs/prefer-regexp-exec": "off",
662
+ "sonarjs/no-clear-text-protocols": "off",
663
+ "sonarjs/deprecation": "off",
664
+ "sonarjs/no-nested-conditional": "off",
665
+ "sonarjs/no-ignored-exceptions": "off",
666
+ "sonarjs/slow-regex": "off",
667
+ "sonarjs/prefer-read-only-props": "off",
668
+ "sonarjs/no-skipped-tests": "off",
669
+ "sonarjs/no-commented-code": "off",
670
+ "sonarjs/no-ignored-return": "off",
671
+ "sonarjs/array-callback-without-return": "off",
672
+ "sonarjs/pseudo-random": "off",
673
+ "sonarjs/no-nested-functions": "off",
674
+ "sonarjs/no-async-constructor": "off",
675
+ "sonarjs/assertions-in-tests": "off",
676
+ "sonarjs/function-return-type": "off",
677
+ "sonarjs/no-unused-vars": "off",
678
+ "sonarjs/no-invariant-returns": "off",
679
+ "sonarjs/different-types-comparison": "off",
680
+ "sonarjs/no-selector-parameter": "off",
681
+ "sonarjs/anchor-precedence": "off",
682
+ "sonarjs/redundant-type-aliases": "off",
683
+ "sonarjs/no-redundant-optional": "off",
684
+ "sonarjs/reduce-initial-value": "off",
685
+ "sonarjs/no-globals-shadowing": "off",
686
+ "sonarjs/use-type-alias": "off",
687
+ "sonarjs/void-use": "off",
688
+ "sonarjs/no-undefined-argument": "off",
689
+ "sonarjs/no-useless-react-setstate": "off",
690
+ "sonarjs/no-inverted-boolean-check": "off",
691
+ "sonarjs/concise-regex": "off",
692
+ "sonarjs/no-dead-store": "off",
693
+ "sonarjs/public-static-readonly": "off",
694
+ "sonarjs/code-eval": "off",
695
+ "sonarjs/no-misleading-array-reverse": "off",
696
+ "sonarjs/fixme-tag": "off",
697
+ "sonarjs/argument-type": "off",
698
+ "sonarjs/constructor-for-side-effects": "off",
699
+ "sonarjs/no-useless-intersection": "off",
700
+ "sonarjs/no-empty-test-file": "off",
701
+ "sonarjs/prefer-default-last": "off",
702
+ "sonarjs/prefer-promise-shorthand": "off",
703
+ "sonarjs/no-unsafe-unzip": "off",
704
+ "sonarjs/no-nested-assignment": "off",
705
+ "sonarjs/generator-without-yield": "off",
706
+ "sonarjs/no-try-promise": "off",
707
+ "sonarjs/single-character-alternation": "off",
708
+ "sonarjs/class-name": "off",
709
+ "sonarjs/no-hardcoded-secrets": "off",
710
+ "sonarjs/regex-complexity": "off",
711
+ "sonarjs/post-message": "off",
712
+ "sonarjs/link-with-target-blank": "off",
713
+ "sonarjs/duplicates-in-character-class": "off",
714
+ "sonarjs/arguments-order": "off",
715
+ "sonarjs/empty-string-repetition": "off",
716
+ "sonarjs/table-header": "off",
717
+ "sonarjs/no-implicit-global": "off",
718
+ "sonarjs/no-control-regex": "off",
658
719
  "no-caller": 2,
659
720
  "no-eval": 2,
660
721
  "no-delete-var": 2,
package/dist/react.json CHANGED
@@ -5,7 +5,6 @@
5
5
  "import",
6
6
  "no-only-tests",
7
7
  "sonarjs",
8
- "eslint-comments",
9
8
  "react",
10
9
  "react-hooks"
11
10
  ],
@@ -14,7 +13,7 @@
14
13
  "plugin:import/errors",
15
14
  "plugin:prettier/recommended",
16
15
  "plugin:regexp/recommended",
17
- "plugin:sonarjs/recommended",
16
+ "plugin:sonarjs/recommended-legacy",
18
17
  "plugin:react-hooks/recommended"
19
18
  ],
20
19
  "rules": {
@@ -652,7 +651,69 @@
652
651
  "regexp/prefer-w": "off",
653
652
  "sonarjs/no-duplicate-string": "off",
654
653
  "sonarjs/cognitive-complexity": "warn",
655
- "eslint-comments/no-unused-disable": "error",
654
+ "sonarjs/todo-tag": "warn",
655
+ "sonarjs/no-hardcoded-passwords": "off",
656
+ "sonarjs/no-alphabetical-sort": "off",
657
+ "sonarjs/no-os-command-from-path": "off",
658
+ "sonarjs/os-command": "off",
659
+ "sonarjs/prefer-regexp-exec": "off",
660
+ "sonarjs/no-clear-text-protocols": "off",
661
+ "sonarjs/deprecation": "off",
662
+ "sonarjs/no-nested-conditional": "off",
663
+ "sonarjs/no-ignored-exceptions": "off",
664
+ "sonarjs/slow-regex": "off",
665
+ "sonarjs/prefer-read-only-props": "off",
666
+ "sonarjs/no-skipped-tests": "off",
667
+ "sonarjs/no-commented-code": "off",
668
+ "sonarjs/no-ignored-return": "off",
669
+ "sonarjs/array-callback-without-return": "off",
670
+ "sonarjs/pseudo-random": "off",
671
+ "sonarjs/no-nested-functions": "off",
672
+ "sonarjs/no-async-constructor": "off",
673
+ "sonarjs/assertions-in-tests": "off",
674
+ "sonarjs/function-return-type": "off",
675
+ "sonarjs/no-unused-vars": "off",
676
+ "sonarjs/no-invariant-returns": "off",
677
+ "sonarjs/different-types-comparison": "off",
678
+ "sonarjs/no-selector-parameter": "off",
679
+ "sonarjs/anchor-precedence": "off",
680
+ "sonarjs/redundant-type-aliases": "off",
681
+ "sonarjs/no-redundant-optional": "off",
682
+ "sonarjs/reduce-initial-value": "off",
683
+ "sonarjs/no-globals-shadowing": "off",
684
+ "sonarjs/use-type-alias": "off",
685
+ "sonarjs/void-use": "off",
686
+ "sonarjs/no-undefined-argument": "off",
687
+ "sonarjs/no-useless-react-setstate": "off",
688
+ "sonarjs/no-inverted-boolean-check": "off",
689
+ "sonarjs/concise-regex": "off",
690
+ "sonarjs/no-dead-store": "off",
691
+ "sonarjs/public-static-readonly": "off",
692
+ "sonarjs/code-eval": "off",
693
+ "sonarjs/no-misleading-array-reverse": "off",
694
+ "sonarjs/fixme-tag": "off",
695
+ "sonarjs/argument-type": "off",
696
+ "sonarjs/constructor-for-side-effects": "off",
697
+ "sonarjs/no-useless-intersection": "off",
698
+ "sonarjs/no-empty-test-file": "off",
699
+ "sonarjs/prefer-default-last": "off",
700
+ "sonarjs/prefer-promise-shorthand": "off",
701
+ "sonarjs/no-unsafe-unzip": "off",
702
+ "sonarjs/no-nested-assignment": "off",
703
+ "sonarjs/generator-without-yield": "off",
704
+ "sonarjs/no-try-promise": "off",
705
+ "sonarjs/single-character-alternation": "off",
706
+ "sonarjs/class-name": "off",
707
+ "sonarjs/no-hardcoded-secrets": "off",
708
+ "sonarjs/regex-complexity": "off",
709
+ "sonarjs/post-message": "off",
710
+ "sonarjs/link-with-target-blank": "off",
711
+ "sonarjs/duplicates-in-character-class": "off",
712
+ "sonarjs/arguments-order": "off",
713
+ "sonarjs/empty-string-repetition": "off",
714
+ "sonarjs/table-header": "off",
715
+ "sonarjs/no-implicit-global": "off",
716
+ "sonarjs/no-control-regex": "off",
656
717
  "no-caller": 2,
657
718
  "no-eval": 2,
658
719
  "no-delete-var": 2,
package/dist/vitest.json CHANGED
@@ -5,7 +5,6 @@
5
5
  "import",
6
6
  "no-only-tests",
7
7
  "sonarjs",
8
- "eslint-comments",
9
8
  "@vitest"
10
9
  ],
11
10
  "extends": [
@@ -13,7 +12,7 @@
13
12
  "plugin:import/errors",
14
13
  "plugin:prettier/recommended",
15
14
  "plugin:regexp/recommended",
16
- "plugin:sonarjs/recommended",
15
+ "plugin:sonarjs/recommended-legacy",
17
16
  "plugin:@vitest/legacy-recommended"
18
17
  ],
19
18
  "rules": {
@@ -651,7 +650,69 @@
651
650
  "regexp/prefer-w": "off",
652
651
  "sonarjs/no-duplicate-string": "off",
653
652
  "sonarjs/cognitive-complexity": "warn",
654
- "eslint-comments/no-unused-disable": "error",
653
+ "sonarjs/todo-tag": "warn",
654
+ "sonarjs/no-hardcoded-passwords": "off",
655
+ "sonarjs/no-alphabetical-sort": "off",
656
+ "sonarjs/no-os-command-from-path": "off",
657
+ "sonarjs/os-command": "off",
658
+ "sonarjs/prefer-regexp-exec": "off",
659
+ "sonarjs/no-clear-text-protocols": "off",
660
+ "sonarjs/deprecation": "off",
661
+ "sonarjs/no-nested-conditional": "off",
662
+ "sonarjs/no-ignored-exceptions": "off",
663
+ "sonarjs/slow-regex": "off",
664
+ "sonarjs/prefer-read-only-props": "off",
665
+ "sonarjs/no-skipped-tests": "off",
666
+ "sonarjs/no-commented-code": "off",
667
+ "sonarjs/no-ignored-return": "off",
668
+ "sonarjs/array-callback-without-return": "off",
669
+ "sonarjs/pseudo-random": "off",
670
+ "sonarjs/no-nested-functions": "off",
671
+ "sonarjs/no-async-constructor": "off",
672
+ "sonarjs/assertions-in-tests": "off",
673
+ "sonarjs/function-return-type": "off",
674
+ "sonarjs/no-unused-vars": "off",
675
+ "sonarjs/no-invariant-returns": "off",
676
+ "sonarjs/different-types-comparison": "off",
677
+ "sonarjs/no-selector-parameter": "off",
678
+ "sonarjs/anchor-precedence": "off",
679
+ "sonarjs/redundant-type-aliases": "off",
680
+ "sonarjs/no-redundant-optional": "off",
681
+ "sonarjs/reduce-initial-value": "off",
682
+ "sonarjs/no-globals-shadowing": "off",
683
+ "sonarjs/use-type-alias": "off",
684
+ "sonarjs/void-use": "off",
685
+ "sonarjs/no-undefined-argument": "off",
686
+ "sonarjs/no-useless-react-setstate": "off",
687
+ "sonarjs/no-inverted-boolean-check": "off",
688
+ "sonarjs/concise-regex": "off",
689
+ "sonarjs/no-dead-store": "off",
690
+ "sonarjs/public-static-readonly": "off",
691
+ "sonarjs/code-eval": "off",
692
+ "sonarjs/no-misleading-array-reverse": "off",
693
+ "sonarjs/fixme-tag": "off",
694
+ "sonarjs/argument-type": "off",
695
+ "sonarjs/constructor-for-side-effects": "off",
696
+ "sonarjs/no-useless-intersection": "off",
697
+ "sonarjs/no-empty-test-file": "off",
698
+ "sonarjs/prefer-default-last": "off",
699
+ "sonarjs/prefer-promise-shorthand": "off",
700
+ "sonarjs/no-unsafe-unzip": "off",
701
+ "sonarjs/no-nested-assignment": "off",
702
+ "sonarjs/generator-without-yield": "off",
703
+ "sonarjs/no-try-promise": "off",
704
+ "sonarjs/single-character-alternation": "off",
705
+ "sonarjs/class-name": "off",
706
+ "sonarjs/no-hardcoded-secrets": "off",
707
+ "sonarjs/regex-complexity": "off",
708
+ "sonarjs/post-message": "off",
709
+ "sonarjs/link-with-target-blank": "off",
710
+ "sonarjs/duplicates-in-character-class": "off",
711
+ "sonarjs/arguments-order": "off",
712
+ "sonarjs/empty-string-repetition": "off",
713
+ "sonarjs/table-header": "off",
714
+ "sonarjs/no-implicit-global": "off",
715
+ "sonarjs/no-control-regex": "off",
655
716
  "no-caller": 2,
656
717
  "no-eval": 2,
657
718
  "no-delete-var": 2,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/eslint-config",
3
- "version": "11.18.0-alpha.7",
3
+ "version": "11.18.0-alpha.8",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/gooddata/gooddata-ui-sdk.git",
@@ -41,7 +41,6 @@
41
41
  "eslint-import-resolver-typescript": "4.4.4",
42
42
  "eslint-plugin-chai-friendly": "1.1.0",
43
43
  "eslint-plugin-cypress": "3.6.0",
44
- "eslint-plugin-eslint-comments": "3.2.0",
45
44
  "eslint-plugin-header": "3.1.1",
46
45
  "eslint-plugin-import": "2.32.0",
47
46
  "eslint-plugin-import-esm": "1.2.1",
@@ -52,7 +51,7 @@
52
51
  "eslint-plugin-react": "7.37.5",
53
52
  "eslint-plugin-react-hooks": "4.6.0",
54
53
  "eslint-plugin-regexp": "1.15.0",
55
- "eslint-plugin-sonarjs": "0.16.0",
54
+ "eslint-plugin-sonarjs": "3.0.6",
56
55
  "eslint-plugin-storybook": "^10.1.11",
57
56
  "eslint-plugin-tsdoc": "0.2.14",
58
57
  "prettier": "^3.6.2",
@@ -68,7 +67,6 @@
68
67
  "eslint": "^8.57.1",
69
68
  "eslint-config-prettier": "10.1.8",
70
69
  "eslint-import-resolver-typescript": "4.4.4",
71
- "eslint-plugin-eslint-comments": "3.2.0",
72
70
  "eslint-plugin-header": "3.1.1",
73
71
  "eslint-plugin-import": "2.32.0",
74
72
  "eslint-plugin-jsdoc": "62.1.0",
@@ -76,7 +74,7 @@
76
74
  "eslint-plugin-no-only-tests": "2.6.0",
77
75
  "eslint-plugin-prettier": "5.5.4",
78
76
  "eslint-plugin-regexp": "1.15.0",
79
- "eslint-plugin-sonarjs": "0.16.0",
77
+ "eslint-plugin-sonarjs": "3.0.6",
80
78
  "eslint-plugin-tsdoc": "0.2.14",
81
79
  "prettier": "^3.6.2"
82
80
  },