11{
2- "extends" : [ " eslint:recommended" , " plugin:flowtype/recommended" , " plugin:react/recommended" ],
3- "plugins" : [ " flowtype" , " prettier" ],
4- "parser" : " babel-eslint" ,
5- "parserOptions" : {
6- "ecmaVersion" : 2016 ,
7- "sourceType" : " module" ,
8- "ecmaFeatures" : {
9- "jsx" : false
10- }
11- },
12- "rules" : {
13- "linebreak-style" : 0 ,
2+ "extends" : [
3+ " eslint:recommended" ,
4+ " plugin:react/recommended" ,
5+ " plugin:@typescript-eslint/recommended" ,
6+ " prettier/@typescript-eslint" ,
7+ " plugin:prettier/recommended"
8+ ],
9+ "plugins" : [" react" , " @typescript-eslint" , " prettier" ],
10+ "env" : {
11+ "browser" : true ,
12+ "jasmine" : true ,
13+ "jest" : true
14+ },
15+ "rules" : {
16+ "linebreak-style" : 0 ,
1417 "no-unused-vars" : [ " warn" , { "vars" : " all" , "args" : " all" , "ignoreRestSiblings" : false } ],
1518 "react/jsx-filename-extension" : [ 0 , { "extensions" : [ " .js" , " .jsx" ] } ],
16- "flowtype/boolean-style" : [ 2 , " boolean" ],
17- "flowtype/define-flow-type" : 1 ,
18- "flowtype/generic-spacing" : [ 2 , " never" ],
19- "flowtype/no-primitive-constructor-types" : 2 ,
20- "flowtype/no-weak-types" : 1 ,
21- "flowtype/object-type-delimiter" : [ 2 , " comma" ],
22- "flowtype/require-valid-file-annotation" : 2 ,
23- "flowtype/semi" : [ 2 , " always" ],
24- "flowtype/space-after-type-colon" : [ 2 , " always" ],
25- "flowtype/space-before-generic-bracket" : [ 2 , " never" ],
26- "flowtype/space-before-type-colon" : [ 2 , " never" ],
27- "flowtype/union-intersection-spacing" : [ 2 , " always" ],
28- "flowtype/use-flow-type" : 1 ,
29- "flowtype/valid-syntax" : 1 ,
30- "flowtype/no-types-missing-file-annotation" : 2 ,
3119 "no-console" : 1 ,
3220 "prettier/prettier" : 0 ,
3321 "no-func-assign" : 0
34- },
35- "env" : {
36- "es6" : true ,
37- "jest" : true ,
38- "browser" : true ,
39- "node" : true
40- }
41- }
22+ },
23+ "settings" : {
24+ "react" : {
25+ "pragma" : " React" ,
26+ "version" : " detect"
27+ }
28+ },
29+ "parser" : " @typescript-eslint/parser"
30+ }
0 commit comments