-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
40 lines (39 loc) · 1.21 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
{
"rules": {
"block-scoped-var": 2,
"comma-dangle": [2, "only-multiline"],
"comma-style": 2,
"indent": 2,
"keyword-spacing": 2,
"no-console": 0,
"no-constant-condition": 0,
"no-else-return": 0,
"no-extra-parens": [2, "functions"],
"no-lonely-if": 2,
"no-new": 2,
"no-proto": 2,
"no-unused-vars": [2,{"args": "none"}],
"no-use-before-define": [2,"nofunc"],
"no-useless-escape": 0,
"space-before-blocks": 2,
"space-before-function-paren": [2, "never"],
"space-in-parens": 2,
"require-jsdoc": ["error", {
"require": {
"FunctionExpression": true,
"ClassDeclaration": true,
"MethodDefinition": true
}
}],
"valid-jsdoc": ["error", {
"requireReturn": false,
"requireParamDescription": true,
"requireParamType": true
}]
},
"env": {
"node": "true",
"es6": "true"
},
"extends": ["@mapbox/eslint-config-geocoding"]
}