-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc
56 lines (56 loc) · 1.24 KB
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
56
{
"env": {
"es6": true,
"node": true,
"jest": true
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"extends": [
"plugin:flowtype/recommended",
"react-app",
"plugin:react/recommended",
"eslint:recommended",
"prettier",
"prettier/react",
"plugin:prettier/recommended"
],
"plugins": [
"prettier",
"react",
"flowtype"
],
"settings": {
"react": {
"version": "detect"
}
},
"rules": {
"react/jsx-uses-react": 1,
"prettier/prettier": [
"error",
{
"singleQuote": true,
"trailingComma": "all",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"tabWidth": 2
}
],
"react/no-unescaped-entities": 0,
"no-extra-boolean-cast": 0,
"flowtype/no-types-missing-file-annotation": 0
},
"globals": {
"window": false,
"document": false,
"navigator": false,
"fetch": false
}
}