-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc
48 lines (46 loc) · 1.04 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
{
"parser": "babel-eslint",
"rules": {
"comma-dangle": 0,
"indent": [2, 2, {"SwitchCase": 1}],
"linebreak-style": [2, "unix"],
"semi": [2, "always"],
"no-console": 0,
"curly": [2, "all"],
"brace-style": [2, "1tbs"],
"new-parens": 2,
"space-infix-ops": 2,
"no-trailing-spaces": 2,
"max-len": ["error", {"ignoreUrls": true, "code": 90}],
"react/prefer-stateless-function": "off",
"react/jsx-filename-extension": "off",
"react/forbid-prop-types": "off",
"react/no-multi-comp": "off",
"react/no-unused-prop-types": ["error", {"skipShapeProps": true}],
"import/no-named-as-default": "off",
"import/no-extraneous-dependencies": "off",
},
"env": {
"es6": true,
"browser": true,
"node": true,
"jasmine": true
},
"extends": [
"airbnb",
"eslint:recommended",
"plugin:react/recommended"
],
"parserOptions": {
"ecmaVersion": 6,
"ecmaFeatures": {
"jsx": true,
},
},
"plugins": [
"react"
],
"globals": {
"gapi": false,
}
}