Commit 5f734ea
authored
chore: migrate ESLint config (#385)
* chore: replace ESLint standard config by kentcdodds
* chore: auto fix new errors
* chore: fix new errors reported
* chore: forbid imports from @typescript-eslint/experimental-utils/dist
* chore: fix last errors related to imports
* chore: update prettier
* chore: bump eslint plugins
* chore: fix prettier version
* chore: bump eslint and eslint-config-kentcdodds
* chore: remove custom path groups for import/order rule
* chore: switch import/no-import-module-exports rule off
This rule is causing an ESLint error which prevents the rest of the
project to be linted.
* chore: update @babel/new-cap rule reference
* chore: format files
* refactor: update block to avoid unnecessary condition
* refactor: get necessary condition back
Closes #3841 parent 3331e72 commit 5f734ea
File tree
65 files changed
+430
-340
lines changed- lib
- configs
- create-testing-library-rule
- node-utils
- rules
- utils
- tests
- lib
- rules
- tools/generate-configs
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
65 files changed
+430
-340
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
25 | | - | |
| 26 | + | |
26 | 27 | | |
27 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
28 | 56 | | |
29 | 57 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | 3 | | |
6 | 4 | | |
7 | 5 | | |
8 | 6 | | |
9 | 7 | | |
10 | 8 | | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
Lines changed: 55 additions & 52 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| |||
472 | 472 | | |
473 | 473 | | |
474 | 474 | | |
475 | | - | |
476 | | - | |
477 | | - | |
| 475 | + | |
| 476 | + | |
478 | 477 | | |
479 | 478 | | |
480 | 479 | | |
| |||
655 | 654 | | |
656 | 655 | | |
657 | 656 | | |
658 | | - | |
659 | | - | |
660 | | - | |
| 657 | + | |
| 658 | + | |
661 | 659 | | |
662 | 660 | | |
663 | 661 | | |
| |||
759 | 757 | | |
760 | 758 | | |
761 | 759 | | |
762 | | - | |
763 | | - | |
764 | | - | |
765 | | - | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
766 | 770 | | |
767 | | - | |
768 | | - | |
769 | | - | |
| 771 | + | |
| 772 | + | |
770 | 773 | | |
771 | | - | |
772 | | - | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
773 | 779 | | |
774 | | - | |
775 | | - | |
776 | | - | |
777 | | - | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
778 | 785 | | |
779 | | - | |
780 | | - | |
781 | | - | |
782 | | - | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
783 | 795 | | |
784 | | - | |
785 | | - | |
786 | | - | |
787 | | - | |
788 | | - | |
789 | | - | |
790 | | - | |
791 | | - | |
792 | | - | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
793 | 800 | | |
794 | | - | |
795 | | - | |
796 | | - | |
| 801 | + | |
797 | 802 | | |
798 | 803 | | |
799 | | - | |
800 | | - | |
801 | | - | |
802 | | - | |
803 | | - | |
| 804 | + | |
| 805 | + | |
804 | 806 | | |
805 | 807 | | |
806 | | - | |
807 | | - | |
808 | | - | |
809 | | - | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
810 | 812 | | |
811 | 813 | | |
812 | 814 | | |
| |||
848 | 850 | | |
849 | 851 | | |
850 | 852 | | |
851 | | - | |
852 | | - | |
853 | | - | |
| 853 | + | |
| 854 | + | |
854 | 855 | | |
855 | 856 | | |
856 | 857 | | |
| |||
868 | 869 | | |
869 | 870 | | |
870 | 871 | | |
871 | | - | |
872 | | - | |
| 872 | + | |
| 873 | + | |
873 | 874 | | |
874 | 875 | | |
875 | 876 | | |
| |||
1045 | 1046 | | |
1046 | 1047 | | |
1047 | 1048 | | |
| 1049 | + | |
| 1050 | + | |
1048 | 1051 | | |
1049 | 1052 | | |
1050 | 1053 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
0 commit comments