-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
56 lines (56 loc) · 1.25 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
47
48
49
50
51
52
53
54
55
56
{
"extends": [
"eslint:recommended",
"plugin:import/errors",
"plugin:import/warnings",
"airbnb-base"
],
"plugins": [
"import"
],
"root": true,
"env": {
"es6": true,
"node": true,
"browser": true
},
"globals": {},
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"codeFrame": true,
"ecmaVersion": 6,
"ecmaFeatures": {
"impliedStrict": true,
"experimentalObjectRestSpread": true
}
},
"rules": {
"valid-jsdoc": [1, {
"requireParamDescription": true,
"requireReturnDescription": false,
"requireReturnType": true,
"requireReturn": false,
"prefer": { "returns": "return" }
}],
"require-jsdoc": [2, {
"require": {
"FunctionDeclaration": true,
"MethodDefinition": true,
"ClassDeclaration": true
}
}],
"one-var": [2, {
"uninitialized": "always"
}],
"one-var-declaration-per-line": [2, "initializations"],
"prefer-destructuring": 0,
"no-param-reassign": 0,
"object-curly-spacing": [2, "never"],
"import/no-mutable-exports": 1,
"import/prefer-default-export": 1,
"import/no-extraneous-dependencies": [
"error", { "devDependencies": true }
]
}
}