-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
54 lines (54 loc) · 1.1 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
{
"extends": ["eslint:recommended", "prettier", "plugin:react/recommended"],
"env": {
"browser": true,
"es6": true,
"node": true
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6
},
"globals": {
"moment": false
},
"rules": {
"array-callback-return": 0,
"import/no-webpack-loader-syntax": 0,
"no-case-declarations": 0,
"no-console": 1,
"no-extra-semi": 1,
"no-global-assign": [
1,
{
"exceptions": ["onmessage", "close"]
}
],
"no-unused-vars": 1,
"react/display-name": 1,
"react/jsx-no-bind": [
1,
{
"ignoreRefs": false,
"allowArrowFunctions": false,
"allowBind": false
}
],
"react/no-deprecated": 1,
"react/no-unescaped-entities": 1,
"react/prop-types": 1,
"semi": 2,
"space-before-function-paren": [
2,
{
"anonymous": "never",
"named": "never",
"asyncArrow": "always"
}
],
"react/no-find-dom-node": 1,
"react/jsx-key": 1,
"react/no-string-refs": 1,
"no-constant-condition": 1
}
}