-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
60 lines (60 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
55
56
57
58
59
60
{
"env": {
"browser": true,
"node": true,
"es6": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
},
"ecmaVersion": 7,
"sourceType": "module"
},
"plugins": [
"import",
"react"
],
"settings": {
"react": {
"version": "15.2.1"
}
},
"rules": {
"indent": [
"error",
"tab", {
"SwitchCase": 1,
"VariableDeclarator": 2
}
],
"linebreak-style": "off",
"no-console": "off",
"no-constant-condition": "off",
"space-before-function-paren": ["error", "always"],
"no-unused-vars": [
"warn", {
"varsIgnorePattern": "UU",
"args": "none"
}
],
"quotes": [
"error",
"single"
],
"react/no-danger": "off",
"react/no-find-dom-node": "off",
"semi": [
"error",
"always"
],
"import/named": 2,
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }]
}
}