1+ {
2+ "parser" : " @typescript-eslint/parser" ,
3+ "parserOptions" : {
4+ "ecmaVersion" : 8 ,
5+ "sourceType" : " module" ,
6+ "project" : " ./tsconfig.json"
7+ },
8+ "extends" :[
9+ " standard" ,
10+ " plugin:react/recommended" ,
11+ " plugin:@typescript-eslint/recommended"
12+ ],
13+ "plugins" : [
14+ " import" ,
15+ " react" ,
16+ " jsx-a11y"
17+ ],
18+ "settings" : {
19+ "react" : {
20+ "pragma" : " React" ,
21+ "version" : " 16.6.3"
22+ }
23+ },
24+ "env" : {
25+ "browser" : true ,
26+ "node" : true ,
27+ "es6" : true
28+ },
29+ "globals" : {
30+ "expect" : true ,
31+ "test" : true ,
32+ "describe" : true ,
33+ "beforeEach" : true ,
34+ "afterEach" : true ,
35+ "jest" : true ,
36+ "it" : true
37+ },
38+ "rules" : {
39+ "semi" : 0 ,
40+ "strict" : 0 ,
41+ "indent" : [2 , 4 , { "SwitchCase" : 1 }],
42+ "arrow-body-style" : 0 ,
43+ "no-return-assign" : 0 ,
44+ "no-useless-constructor" : 0 ,
45+ "eqeqeq" : 0 ,
46+ "no-console" : 0 ,
47+ "no-param-reassign" : 0 ,
48+ "@typescript-eslint/no-unused-vars" : [" error" , { "vars" : " all" , "args" : " none" , "ignoreRestSiblings" : false }],
49+ "import/no-extraneous-dependencies" : [" error" , {"devDependencies" : true , "optionalDependencies" : false , "peerDependencies" : false }],
50+ "react/display-name" :[0 ],
51+ "react/sort-comp" : 0 ,
52+ "react/jsx-uses-react" : 1 ,
53+ "react/prefer-stateless-function" : 0 ,
54+ "react/jsx-closing-bracket-location" : 0 ,
55+ "jsx-a11y/no-static-element-interactions" : 0 ,
56+ "react/prop-types" : [0 , {"ignore" : [" children" ]}],
57+ "react/jsx-filename-extension" : [1 , { "extensions" : [" .tsx" , " .js" , " .jsx" ] }],
58+ "react/react-in-jsx-scope" : 0 ,
59+ "@typescript-eslint/no-explicit-any" : 0 ,
60+ "@typescript-eslint/explicit-member-accessibility" : 0 ,
61+ "@typescript-eslint/explicit-function-return-type" : 0 ,
62+ "@typescript-eslint/no-use-before-define" : 0 ,
63+ "@typescript-eslint/no-var-requires" : 0 ,
64+ "@typescript-eslint/interface-name-prefix" :0 ,
65+ "@typescript-eslint/no-empty-interface" :0 ,
66+ "@typescript-eslint/no-this-alias" : [
67+ " error" ,
68+ {
69+ "allowDestructuring" : true , // Allow `const { props, state } = this`; false by default
70+ "allowedNames" : [" that" ] // Allow `const self = this`; `[]` by default
71+ }
72+ ],
73+ "prefer-const" : 0 ,
74+ "no-var" : 0 ,
75+ "prefer-rest-params" : 0
76+ }
77+ }
0 commit comments