-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
41 lines (41 loc) · 835 Bytes
/
.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
{
"extends": [
"eslint:recommended"
],
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"modules": true
}
},
"plugins": [
"react"
],
"rules": {
"no-debugger": 0,
"no-console": 0,
"strict": 0,
"no-underscore-dangle": 0,
"no-use-before-define": 1,
"no-undef": 1,
"eol-last": 0,
"indent": [2, "space"],
"quotes": [2, "single", {"allowTemplateLiterals": true}],
"no-unused-vars": 1,
"comma-dangle": 0,
"no-class-assign": 0,
"arrow-spacing": 2,
"no-mixed-spaces-and-tabs": 1,
"jsx-quotes": [2, "prefer-double"],
"react/jsx-no-undef": 2,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1,
}
}