-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
44 lines (44 loc) · 962 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
42
43
44
{
"extends": [
"eslint:recommended",
"plugin:lodash-fp/recommended"
],
"parser": "babel-eslint",
"plugins": [
"react",
"lodash-fp"
],
"globals": {
"gapi": true,
"__DEV__": true
},
"env": {
"browser": true,
"es6": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"indent": [2, 2],
"no-case-declarations": 0,
"quotes": [1, "single", "avoid-escape"],
"semi": [1, "never"],
"space-before-function-paren": [1, "always"],
"react/jsx-curly-spacing": [1, "never"],
"react/jsx-max-props-per-line": [1, { "maximum": 4 }],
"react/jsx-no-duplicate-props": 1,
"react/jsx-no-undef": 2,
"react/jsx-sort-props": 0,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1,
"react/prop-types": 1,
"react/react-in-jsx-scope": 2,
"react/sort-prop-types": 0,
}
}