-
Notifications
You must be signed in to change notification settings - Fork 8
/
.eslintrc.json
37 lines (37 loc) · 1.08 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
{
"extends": [ "eslint:recommended", "plugin:react/recommended" ],
"parserOptions": {
"ecmaVersion" : 6,
"sourceType" : "module",
"ecmaFeatures" : {
"jsx" : true
}
},
"rules" : {
"indent" : [ "error", 2 ],
"linebreak-style" : [ "error", "unix" ],
"quotes" : [ "error", "single" ],
"no-unused-vars" : [ "error" ],
"no-extra-semi" : [ "error" ],
"no-unexpected-multiline" : [ "error" ],
"semi" : [ "error", "never" ],
"one-var" : [ "error", "never" ],
"padded-blocks" : [ "error", "never" ],
"react/jsx-uses-vars" : [ "error" ],
"no-console" : 0,
"padded-blocks" : 0,
"reactjs/max-len" : 0,
"no-trailing-spaces" : [ "error", { "skipBlankLines": false } ]
},
"plugins" : [ "react" ],
"env" : {
"browser" : true,
"node" : true
},
"settings" : {
"react" : {
"pragma" : "React",
"version" : "15.0"
}
}
}