forked from Tabloids/wdclib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
29 lines (29 loc) · 914 Bytes
/
.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
{
"env": {
"browser": true,
"node": false,
"es6": true
},
"parser": "babel-eslint",
"extends": ["eslint:recommended", "standard"],
"rules": {
"no-console": 0,
"no-unused-vars": ["error", { "args": "after-used" }],
"indent": ["error", 4, { "SwitchCase": 1 }],
"semi": ["error", "always"],
"padded-blocks": 0,
"no-trailing-spaces": [ "error", { "ignoreComments": true } ],
"valid-jsdoc": ["error", {
"requireParamDescription": false,
"requireReturnDescription": false
}],
"require-jsdoc": ["error", {
"require": {
"FunctionDeclaration": true,
"MethodDefinition": true,
"ClassDeclaration": true,
"ArrowFunctionExpression": false
}
}]
}
}