forked from onury/geolocator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
46 lines (45 loc) · 1.04 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
38
39
40
41
42
43
44
45
46
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"globalReturn": true,
"modules": true,
"jsx": false
}
},
"env": {
"es6": true,
"node": true,
"browser": true,
"jasmine": true
},
"plugins": [
],
"globals": {
"document": false,
"navigator": false,
"window": false,
"google": false
},
"extends": "xo",
// "extends": "eslint:recommended",
"rules": {
"indent": [2, 4, {"SwitchCase": 1}],
"curly": [2, "multi-line", "consistent"],
"one-var": 0,
"no-unused-vars": 1,
"object-curly-spacing": 0,
"operator-linebreak": 0,
"padded-blocks": 0,
"no-negated-condition": 0,
"quote-props": 0,
"no-prototype-builtins": 0,
"max-lines": 0,
"complexity": 0,
"no-nested-ternary": 0,
"no-mixed-operators": 0,
"func-names": 0
}
}