-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
63 lines (54 loc) · 1.32 KB
/
.eslintrc.json
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
57
58
59
60
61
62
63
{
"parser": "babel-eslint",
"plugins": ["flowtype", "import", "prettier", "promise", "react"],
"extends": [
"eslint:recommended",
"prettier",
"prettier/react",
"prettier/flowtype",
"prettier/standard",
"plugin:react/recommended"
],
"env": {
"browser": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module",
"allowImportExportEverywhere": true,
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
}
},
"settings": {
"import/resolver": {
"webpack": {
"config": "webpack.config.eslint.js"
}
}
},
"rules": {
"prettier/prettier": [2],
"quotes": [1, "double"],
"indent": [2, 2, {"SwitchCase": 1}],
"no-console": [0],
"no-unused-vars": [1],
"no-param-reassign": [0],
"no-multi-assign": [0],
"no-else-return": [0],
"no-confusing-arrow": [0],
"no-prototype-builtins": [0],
"react/display-name": [0],
"react/prop-types": [1],
"react/sort-comp": [0],
"react/no-danger": [0],
"react/jsx-indent": [2, 2],
"react/jsx-indent-props": [2, 2],
"react/jsx-filename-extension": [1, {"extensions": [".js", ".jsx"]}],
"import/first": [0],
"import/prefer-default-export": [0],
"import/no-extraneous-dependencies": [0]
}
}