-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
.eslintrc
50 lines (50 loc) · 1.06 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
{
"env": {
"browser": true,
"es6": true,
"node": true
},
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"camelcase": "off",
"comma-spacing": ["warn", {"before": false, "after": true}],
"dot-notation": "off",
"eqeqeq": "error",
"flowtype/define-flow-type": 1,
"flowtype/use-flow-type": 1,
"keyword-spacing": ["warn", {"before": true, "after": true}],
"no-console": ["error", {"allow": ["warn", "error"]}],
"no-multi-spaces": "off",
"no-undef": "error",
"no-underscore-dangle": "off",
"no-unused-vars": [
"warn", {
"args": "all",
"argsIgnorePattern": "^_"
}
],
"no-use-before-define": "error",
"object-curly-spacing": ["warn", "never"],
"react/jsx-uses-react": "error",
"react/jsx-uses-vars": "error",
"semi-spacing": "off",
"space-before-blocks": ["warn", "always"],
"space-in-parens": ["warn", "never"],
"strict": "off",
"quotes": ["warn", "single"]
},
"globals": {
"paypal": false
},
"plugins": [
"flowtype",
"json",
"react"
]
}