UNPKG

17.5 kBJSONView Raw
1{
2 "env": {
3 "node": true,
4 "jest/globals": true
5 },
6 "globals": {},
7 "parser": "/Users/marudor/programming/eslint-config-marudor/node_modules/babel-eslint/lib/index.js",
8 "parserOptions": {
9 "ecmaFeatures": {
10 "jsx": true
11 },
12 "sourceType": "module"
13 },
14 "plugins": [
15 "babel",
16 "import",
17 "jest",
18 "react-hooks",
19 "react",
20 "sort-imports-es6-autofix",
21 "prettier"
22 ],
23 "rules": {
24 "prettier/prettier": [
25 "error"
26 ],
27 "arrow-body-style": [
28 0
29 ],
30 "curly": [
31 0
32 ],
33 "lines-around-comment": [
34 0
35 ],
36 "max-len": [
37 0
38 ],
39 "no-confusing-arrow": [
40 0
41 ],
42 "no-mixed-operators": [
43 0
44 ],
45 "no-tabs": [
46 0
47 ],
48 "no-unexpected-multiline": [
49 0
50 ],
51 "prefer-arrow-callback": [
52 0
53 ],
54 "quotes": [
55 0,
56 "single"
57 ],
58 "array-bracket-newline": [
59 "off"
60 ],
61 "array-bracket-spacing": [
62 "off"
63 ],
64 "array-element-newline": [
65 "off"
66 ],
67 "arrow-parens": [
68 "off"
69 ],
70 "arrow-spacing": [
71 "off"
72 ],
73 "block-spacing": [
74 "off"
75 ],
76 "brace-style": [
77 "off"
78 ],
79 "comma-dangle": [
80 "off"
81 ],
82 "comma-spacing": [
83 "off"
84 ],
85 "comma-style": [
86 "off"
87 ],
88 "computed-property-spacing": [
89 "off"
90 ],
91 "dot-location": [
92 "off"
93 ],
94 "eol-last": [
95 "off"
96 ],
97 "func-call-spacing": [
98 "off"
99 ],
100 "function-paren-newline": [
101 "off"
102 ],
103 "generator-star": [
104 "off"
105 ],
106 "generator-star-spacing": [
107 "off"
108 ],
109 "implicit-arrow-linebreak": [
110 "off"
111 ],
112 "indent": [
113 "off",
114 2,
115 {
116 "SwitchCase": 1
117 }
118 ],
119 "indent-legacy": [
120 "off"
121 ],
122 "jsx-quotes": [
123 "off"
124 ],
125 "key-spacing": [
126 "off"
127 ],
128 "keyword-spacing": [
129 "off"
130 ],
131 "linebreak-style": [
132 "off",
133 "unix"
134 ],
135 "multiline-ternary": [
136 "off"
137 ],
138 "newline-per-chained-call": [
139 "off"
140 ],
141 "new-parens": [
142 "off"
143 ],
144 "no-arrow-condition": [
145 "off"
146 ],
147 "no-comma-dangle": [
148 "off"
149 ],
150 "no-extra-parens": [
151 "off"
152 ],
153 "no-extra-semi": [
154 "off"
155 ],
156 "no-floating-decimal": [
157 "off"
158 ],
159 "no-mixed-spaces-and-tabs": [
160 "off"
161 ],
162 "no-multi-spaces": [
163 "off"
164 ],
165 "no-multiple-empty-lines": [
166 "off"
167 ],
168 "no-reserved-keys": [
169 "off"
170 ],
171 "no-space-before-semi": [
172 "off"
173 ],
174 "no-spaced-func": [
175 "off"
176 ],
177 "no-trailing-spaces": [
178 "off"
179 ],
180 "no-whitespace-before-property": [
181 "off"
182 ],
183 "no-wrap-func": [
184 "off"
185 ],
186 "nonblock-statement-body-position": [
187 "off"
188 ],
189 "object-curly-newline": [
190 "off"
191 ],
192 "object-curly-spacing": [
193 "off"
194 ],
195 "object-property-newline": [
196 "off"
197 ],
198 "one-var-declaration-per-line": [
199 "off"
200 ],
201 "operator-linebreak": [
202 "off"
203 ],
204 "padded-blocks": [
205 "off"
206 ],
207 "quote-props": [
208 "off"
209 ],
210 "rest-spread-spacing": [
211 "off"
212 ],
213 "semi": [
214 "off"
215 ],
216 "semi-spacing": [
217 "off"
218 ],
219 "semi-style": [
220 "off"
221 ],
222 "space-after-function-name": [
223 "off"
224 ],
225 "space-after-keywords": [
226 "off"
227 ],
228 "space-before-blocks": [
229 "off"
230 ],
231 "space-before-function-paren": [
232 "off"
233 ],
234 "space-before-function-parentheses": [
235 "off"
236 ],
237 "space-before-keywords": [
238 "off"
239 ],
240 "space-in-brackets": [
241 "off"
242 ],
243 "space-in-parens": [
244 "off"
245 ],
246 "space-infix-ops": [
247 "off"
248 ],
249 "space-return-throw-case": [
250 "off"
251 ],
252 "space-unary-ops": [
253 "off"
254 ],
255 "space-unary-word-ops": [
256 "off"
257 ],
258 "switch-colon-spacing": [
259 "off"
260 ],
261 "template-curly-spacing": [
262 "off"
263 ],
264 "template-tag-spacing": [
265 "off"
266 ],
267 "unicode-bom": [
268 "off"
269 ],
270 "wrap-iife": [
271 "off"
272 ],
273 "wrap-regex": [
274 "off"
275 ],
276 "yield-star-spacing": [
277 "off"
278 ],
279 "sort-imports-es6-autofix/sort-imports-es6": [
280 2,
281 {
282 "ignoreCase": true,
283 "ignoreMemberSort": false,
284 "memberSyntaxSortOrder": [
285 "none",
286 "all",
287 "multiple",
288 "single"
289 ]
290 }
291 ],
292 "react/prop-types": [
293 "off"
294 ],
295 "react-hooks/rules-of-hooks": [
296 "error"
297 ],
298 "react-hooks/exhaustive-deps": [
299 "error"
300 ],
301 "react/jsx-filename-extension": [
302 2,
303 {
304 "extensions": [
305 ".tsx",
306 ".jsx"
307 ]
308 }
309 ],
310 "react/jsx-child-element-spacing": [
311 "off"
312 ],
313 "react/jsx-closing-bracket-location": [
314 "off"
315 ],
316 "react/jsx-closing-tag-location": [
317 "off"
318 ],
319 "react/jsx-curly-newline": [
320 "off"
321 ],
322 "react/jsx-curly-spacing": [
323 "off"
324 ],
325 "react/jsx-equals-spacing": [
326 "off"
327 ],
328 "react/jsx-first-prop-new-line": [
329 "off"
330 ],
331 "react/jsx-indent": [
332 "off"
333 ],
334 "react/jsx-indent-props": [
335 "off"
336 ],
337 "react/jsx-max-props-per-line": [
338 "off"
339 ],
340 "react/jsx-one-expression-per-line": [
341 "off"
342 ],
343 "react/jsx-props-no-multi-spaces": [
344 "off"
345 ],
346 "react/jsx-space-before-closing": [
347 "off"
348 ],
349 "react/jsx-tag-spacing": [
350 "off"
351 ],
352 "react/jsx-wrap-multilines": [
353 "off"
354 ],
355 "react/display-name": [
356 2
357 ],
358 "react/jsx-key": [
359 2
360 ],
361 "react/jsx-no-comment-textnodes": [
362 2
363 ],
364 "react/jsx-no-duplicate-props": [
365 2
366 ],
367 "react/jsx-no-target-blank": [
368 2
369 ],
370 "react/jsx-no-undef": [
371 2
372 ],
373 "react/jsx-uses-react": [
374 2
375 ],
376 "react/jsx-uses-vars": [
377 2
378 ],
379 "react/no-children-prop": [
380 2
381 ],
382 "react/no-danger-with-children": [
383 2
384 ],
385 "react/no-deprecated": [
386 2
387 ],
388 "react/no-direct-mutation-state": [
389 2
390 ],
391 "react/no-find-dom-node": [
392 2
393 ],
394 "react/no-is-mounted": [
395 2
396 ],
397 "react/no-render-return-value": [
398 2
399 ],
400 "react/no-string-refs": [
401 2
402 ],
403 "react/no-unescaped-entities": [
404 2
405 ],
406 "react/no-unknown-property": [
407 2
408 ],
409 "react/no-unsafe": [
410 0
411 ],
412 "react/react-in-jsx-scope": [
413 2
414 ],
415 "react/require-render-return": [
416 2
417 ],
418 "jest/valid-describe": [
419 0
420 ],
421 "jest/no-alias-methods": [
422 "warn"
423 ],
424 "jest/no-disabled-tests": [
425 "warn"
426 ],
427 "jest/no-focused-tests": [
428 "error"
429 ],
430 "jest/no-identical-title": [
431 "error"
432 ],
433 "jest/no-jest-import": [
434 "error"
435 ],
436 "jest/no-jasmine-globals": [
437 "warn"
438 ],
439 "jest/no-test-prefixes": [
440 "error"
441 ],
442 "jest/valid-expect": [
443 "error"
444 ],
445 "jest/valid-expect-in-promise": [
446 "error"
447 ],
448 "@typescript-eslint/func-call-spacing": [
449 "off"
450 ],
451 "@typescript-eslint/indent": [
452 "off"
453 ],
454 "@typescript-eslint/member-delimiter-style": [
455 "off"
456 ],
457 "@typescript-eslint/no-extra-parens": [
458 "off"
459 ],
460 "@typescript-eslint/semi": [
461 "off"
462 ],
463 "@typescript-eslint/type-annotation-spacing": [
464 "off"
465 ],
466 "sort-imports": [
467 0
468 ],
469 "accessor-pairs": [
470 "error"
471 ],
472 "array-callback-return": [
473 "error"
474 ],
475 "block-scoped-var": [
476 "error"
477 ],
478 "callback-return": [
479 "error"
480 ],
481 "camelcase": [
482 "off"
483 ],
484 "capitalized-comments": [
485 "off"
486 ],
487 "class-methods-use-this": [
488 "off"
489 ],
490 "complexity": [
491 0
492 ],
493 "consistent-return": [
494 "off"
495 ],
496 "consistent-this": [
497 "error"
498 ],
499 "default-case": [
500 0
501 ],
502 "dot-notation": [
503 "error"
504 ],
505 "eqeqeq": [
506 "error",
507 "smart"
508 ],
509 "func-name-matching": [
510 "off"
511 ],
512 "func-names": [
513 "error"
514 ],
515 "func-style": [
516 "off",
517 "declaration"
518 ],
519 "guard-for-in": [
520 "error"
521 ],
522 "handle-callback-err": [
523 "error"
524 ],
525 "id-blacklist": [
526 "error"
527 ],
528 "id-length": [
529 "off"
530 ],
531 "id-match": [
532 "error"
533 ],
534 "import/no-mutable-exports": [
535 "error"
536 ],
537 "import/prefer-default-export": [
538 0
539 ],
540 "import/first": [
541 "error"
542 ],
543 "import/no-webpack-loader-syntax": [
544 "error"
545 ],
546 "init-declarations": [
547 "off"
548 ],
549 "line-comment-position": [
550 "off"
551 ],
552 "lines-around-directive": [
553 "error"
554 ],
555 "max-depth": [
556 "error"
557 ],
558 "max-lines": [
559 "off"
560 ],
561 "max-nested-callbacks": [
562 "error"
563 ],
564 "max-params": [
565 "off"
566 ],
567 "max-statements": [
568 "off"
569 ],
570 "max-statements-per-line": [
571 "error"
572 ],
573 "max-classes-per-file": [
574 "off"
575 ],
576 "max-lines-per-function": [
577 "off"
578 ],
579 "new-cap": [
580 "off"
581 ],
582 "newline-after-var": [
583 "off"
584 ],
585 "newline-before-return": [
586 "off"
587 ],
588 "padding-line-between-statements": [
589 "error",
590 {
591 "blankLine": "always",
592 "prev": [
593 "var",
594 "let",
595 "const"
596 ],
597 "next": "*"
598 },
599 {
600 "blankLine": "any",
601 "prev": [
602 "var",
603 "let",
604 "const"
605 ],
606 "next": [
607 "var",
608 "let",
609 "const"
610 ]
611 },
612 {
613 "blankLine": "always",
614 "prev": "*",
615 "next": "return"
616 }
617 ],
618 "no-alert": [
619 "off"
620 ],
621 "no-array-constructor": [
622 "error"
623 ],
624 "no-await-in-loop": [
625 "error"
626 ],
627 "no-bitwise": [
628 "error"
629 ],
630 "no-caller": [
631 "error"
632 ],
633 "no-case-declarations": [
634 "error"
635 ],
636 "no-console": [
637 "warn"
638 ],
639 "no-continue": [
640 "error"
641 ],
642 "no-div-regex": [
643 "error"
644 ],
645 "no-duplicate-imports": [
646 "off"
647 ],
648 "no-else-return": [
649 "error"
650 ],
651 "no-empty-function": [
652 "off"
653 ],
654 "no-eq-null": [
655 "off"
656 ],
657 "no-eval": [
658 "error"
659 ],
660 "no-extend-native": [
661 "error"
662 ],
663 "no-extra-bind": [
664 "error"
665 ],
666 "no-extra-label": [
667 "error"
668 ],
669 "no-implicit-coercion": [
670 "off"
671 ],
672 "no-implicit-globals": [
673 "error"
674 ],
675 "no-implied-eval": [
676 "error"
677 ],
678 "no-inline-comments": [
679 "off"
680 ],
681 "no-invalid-this": [
682 "off"
683 ],
684 "no-iterator": [
685 "error"
686 ],
687 "no-label-var": [
688 "error"
689 ],
690 "no-labels": [
691 "error"
692 ],
693 "no-lone-blocks": [
694 "error"
695 ],
696 "no-lonely-if": [
697 "error"
698 ],
699 "no-loop-func": [
700 "error"
701 ],
702 "no-magic-numbers": [
703 "off"
704 ],
705 "no-mixed-requires": [
706 "error"
707 ],
708 "no-multi-str": [
709 "error"
710 ],
711 "no-native-reassign": [
712 "error"
713 ],
714 "no-negated-condition": [
715 "off"
716 ],
717 "no-negated-in-lhs": [
718 "error"
719 ],
720 "no-nested-ternary": [
721 0
722 ],
723 "no-new": [
724 "error"
725 ],
726 "no-new-func": [
727 "error"
728 ],
729 "no-new-object": [
730 "error"
731 ],
732 "no-new-require": [
733 "error"
734 ],
735 "no-new-wrappers": [
736 "error"
737 ],
738 "no-octal-escape": [
739 "error"
740 ],
741 "no-param-reassign": [
742 "error"
743 ],
744 "no-path-concat": [
745 "error"
746 ],
747 "no-plusplus": [
748 "error"
749 ],
750 "no-process-env": [
751 "off"
752 ],
753 "no-process-exit": [
754 "error"
755 ],
756 "no-proto": [
757 "error"
758 ],
759 "no-prototype-builtins": [
760 "off"
761 ],
762 "no-restricted-globals": [
763 "error"
764 ],
765 "no-restricted-imports": [
766 "error"
767 ],
768 "no-restricted-modules": [
769 "error"
770 ],
771 "no-restricted-properties": [
772 "error"
773 ],
774 "no-restricted-syntax": [
775 "error"
776 ],
777 "no-return-assign": [
778 "error"
779 ],
780 "no-return-await": [
781 "error"
782 ],
783 "no-script-url": [
784 "error"
785 ],
786 "no-self-compare": [
787 "error"
788 ],
789 "no-sequences": [
790 "error"
791 ],
792 "no-shadow": [
793 "off"
794 ],
795 "no-shadow-restricted-names": [
796 "error"
797 ],
798 "no-sync": [
799 "error"
800 ],
801 "no-template-curly-in-string": [
802 "error"
803 ],
804 "no-ternary": [
805 "off"
806 ],
807 "no-throw-literal": [
808 "off"
809 ],
810 "no-undef-init": [
811 "error"
812 ],
813 "no-undef": [
814 "error"
815 ],
816 "no-undefined": [
817 "off"
818 ],
819 "no-underscore-dangle": [
820 "error"
821 ],
822 "no-unmodified-loop-condition": [
823 "error"
824 ],
825 "no-unneeded-ternary": [
826 "error"
827 ],
828 "no-unused-expressions": [
829 "off"
830 ],
831 "no-use-before-define": [
832 "error"
833 ],
834 "no-useless-call": [
835 "error"
836 ],
837 "no-useless-computed-key": [
838 "error"
839 ],
840 "no-useless-concat": [
841 "error"
842 ],
843 "no-useless-constructor": [
844 "error"
845 ],
846 "no-useless-escape": [
847 "error"
848 ],
849 "no-useless-rename": [
850 "error"
851 ],
852 "no-useless-return": [
853 "error"
854 ],
855 "no-var": [
856 "error"
857 ],
858 "no-void": [
859 "error"
860 ],
861 "no-warning-comments": [
862 "off"
863 ],
864 "no-with": [
865 "error"
866 ],
867 "object-shorthand": [
868 "error"
869 ],
870 "one-var": [
871 "error",
872 "never"
873 ],
874 "operator-assignment": [
875 "error"
876 ],
877 "prefer-const": [
878 "error"
879 ],
880 "prefer-numeric-literals": [
881 "error"
882 ],
883 "prefer-reflect": [
884 "off"
885 ],
886 "prefer-rest-params": [
887 "error"
888 ],
889 "prefer-spread": [
890 "error"
891 ],
892 "prefer-template": [
893 "error"
894 ],
895 "radix": [
896 "error"
897 ],
898 "require-await": [
899 "error"
900 ],
901 "require-jsdoc": [
902 "off"
903 ],
904 "sort-keys": [
905 "off"
906 ],
907 "sort-vars": [
908 "error"
909 ],
910 "spaced-comment": [
911 "error"
912 ],
913 "strict": [
914 "error"
915 ],
916 "symbol-description": [
917 "error"
918 ],
919 "valid-jsdoc": [
920 "off"
921 ],
922 "vars-on-top": [
923 "error"
924 ],
925 "yoda": [
926 "error"
927 ],
928 "babel/new-cap": [
929 "off"
930 ],
931 "babel/no-invalid-this": [
932 "error"
933 ],
934 "babel/object-curly-spacing": [
935 "error",
936 "always"
937 ],
938 "babel/quotes": [
939 "off"
940 ],
941 "babel/semi": [
942 "off"
943 ],
944 "babel/no-unused-expressions": [
945 "error"
946 ],
947 "babel/valid-typeof": [
948 "off"
949 ],
950 "constructor-super": [
951 "error"
952 ],
953 "for-direction": [
954 "error"
955 ],
956 "getter-return": [
957 "error"
958 ],
959 "no-async-promise-executor": [
960 "error"
961 ],
962 "no-class-assign": [
963 "error"
964 ],
965 "no-compare-neg-zero": [
966 "error"
967 ],
968 "no-cond-assign": [
969 "error"
970 ],
971 "no-const-assign": [
972 "error"
973 ],
974 "no-constant-condition": [
975 "error"
976 ],
977 "no-control-regex": [
978 "error"
979 ],
980 "no-debugger": [
981 "error"
982 ],
983 "no-delete-var": [
984 "error"
985 ],
986 "no-dupe-args": [
987 "error"
988 ],
989 "no-dupe-class-members": [
990 "error"
991 ],
992 "no-dupe-keys": [
993 "error"
994 ],
995 "no-duplicate-case": [
996 "error"
997 ],
998 "no-empty": [
999 "error"
1000 ],
1001 "no-empty-character-class": [
1002 "error"
1003 ],
1004 "no-empty-pattern": [
1005 "error"
1006 ],
1007 "no-ex-assign": [
1008 "error"
1009 ],
1010 "no-extra-boolean-cast": [
1011 "error"
1012 ],
1013 "no-fallthrough": [
1014 "error"
1015 ],
1016 "no-func-assign": [
1017 "error"
1018 ],
1019 "no-global-assign": [
1020 "error"
1021 ],
1022 "no-inner-declarations": [
1023 "error"
1024 ],
1025 "no-invalid-regexp": [
1026 "error"
1027 ],
1028 "no-irregular-whitespace": [
1029 "error"
1030 ],
1031 "no-misleading-character-class": [
1032 "error"
1033 ],
1034 "no-new-symbol": [
1035 "error"
1036 ],
1037 "no-obj-calls": [
1038 "error"
1039 ],
1040 "no-octal": [
1041 "error"
1042 ],
1043 "no-redeclare": [
1044 "error"
1045 ],
1046 "no-regex-spaces": [
1047 "error"
1048 ],
1049 "no-self-assign": [
1050 "error"
1051 ],
1052 "no-sparse-arrays": [
1053 "error"
1054 ],
1055 "no-this-before-super": [
1056 "error"
1057 ],
1058 "no-unreachable": [
1059 "error"
1060 ],
1061 "no-unsafe-finally": [
1062 "error"
1063 ],
1064 "no-unsafe-negation": [
1065 "error"
1066 ],
1067 "no-unused-labels": [
1068 "error"
1069 ],
1070 "no-unused-vars": [
1071 "error"
1072 ],
1073 "no-useless-catch": [
1074 "error"
1075 ],
1076 "require-atomic-updates": [
1077 "error"
1078 ],
1079 "require-yield": [
1080 "error"
1081 ],
1082 "use-isnan": [
1083 "error"
1084 ],
1085 "valid-typeof": [
1086 "error"
1087 ]
1088 },
1089 "settings": {
1090 "import/extensions": [
1091 ".ts",
1092 ".tsx",
1093 ".d.ts",
1094 ".js",
1095 ".jsx"
1096 ],
1097 "import/parsers": {
1098 "@typescript-eslint/parser": [
1099 ".ts",
1100 ".tsx",
1101 ".d.ts"
1102 ]
1103 },
1104 "import/resolver": {
1105 "node": {
1106 "extensions": [
1107 ".ts",
1108 ".tsx",
1109 ".d.ts",
1110 ".js",
1111 ".jsx"
1112 ]
1113 }
1114 }
1115 }
1116}