-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc
36 lines (36 loc) · 874 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
{
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"jsx": true,
"modules": true
}
},
"plugins": [ "react" ],
"rules": {
"indent": [ 2, 2 ],
"quotes": [ 2, "single" ],
"linebreak-style": [ 2, "unix" ],
"semi": [ 2, "always" ],
"no-console": [ 0 ],
"no-loop-func": [ 0 ],
"new-cap": [ 0 ],
"no-trailing-spaces": [ 0 ],
"no-param-reassign": [ 0 ],
"func-names": [ 0 ],
"comma-dangle": [ 0 ],
"no-unused-expressions" : [ 0 ], // until fixed https://github.com/babel/babel-eslint/issues/158
"block-scoped-var": [ 0 ], // until fixed https://github.com/eslint/eslint/issues/2253
"react/prop-types": [ 0 ]
},
"env": {
"es6": true,
"node": true,
"browser": true,
"mocha": true
}
}