-
Notifications
You must be signed in to change notification settings - Fork 49
/
.eslintrc
58 lines (58 loc) · 1.35 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
57
58
{
"parser": "@babel/eslint-parser",
"parserOptions": {
"requireConfigFile": false,
"ecmaVersion": 8
},
"plugins": [
"react",
"prettier"
],
"extends": [
"plugin:react/recommended"
],
"settings": {
"react": {
"version": "detect"
}
},
"rules": {
"prettier/prettier": [ "error", {
"singleQuote": true,
"tabWidth": 4
}],
"strict": 0,
"comma-dangle": 0,
"comma-spacing": 1,
"curly": 1,
"eol-last": 0,
"handle-callback-err": 1,
"key-spacing": 0,
"new-cap": 0,
"no-extra-semi": 1,
"no-irregular-whitespace": 1,
"no-mixed-spaces-and-tabs": 1,
"no-shadow": 0,
"no-multi-spaces": 1,
"no-trailing-spaces": 1,
"no-underscore-dangle": 0,
"no-unused-vars": 1,
"no-use-before-define": [2, "nofunc"],
"quotes": 0,
"semi": 1,
"semi-spacing": 1,
"space-before-blocks": 1,
"object-curly-spacing": [1, "always"],
"no-process-exit": 0,
"prefer-const": 1,
"no-var": 1,
"react/react-in-jsx-scope": 0,
"react/prop-types": 0
},
"env": {
"node": true,
"es6": true,
"browser": true,
"mocha": true
}
}