-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc.json
36 lines (36 loc) · 953 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
30
31
32
33
34
35
36
{
"extends": [
"plugin:jsdoc/recommended",
"google"
],
"env": {
"es6": true,
"node": true
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"jsdoc"
],
"rules": {
"no-extra-parens": ["error", "functions"],
"max-len": ["error", {"code": 200, "tabWidth": 4}],
"dot-location": ["error", "property"],
"indent": ["error", 2],
"quotes": ["error", "single"],
"no-unused-vars": ["error", {"vars": "all", "args": "after-used"}],
"eol-last": "error",
"new-cap": "off",
"strict": ["error", "never"],
"require-jsdoc": "off",
"valid-jsdoc": "off",
"space-infix-ops": "error",
"space-unary-ops": "error",
"arrow-spacing": "error",
"sort-imports": "error",
"guard-for-in": "off"
}
}