-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
39 lines (39 loc) · 968 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
37
38
39
{
"root": true,
"extends": [
"airbnb-base",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"env": {
"node": true,
"es6": true,
"mocha": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 10,
"sourceType": "module"
},
"rules": {
"one-var": 0,
"one-var-declaration-per-line": 0,
"new-cap": 0,
"consistent-return": 0,
"no-param-reassign": 0,
"comma-dangle": 0,
"curly": ["error", "multi-line"],
"no-shadow": ["error", { "allow": ["req", "res", "err"] }],
"valid-jsdoc": 0,
"require-jsdoc": 0,
"class-methods-use-this": 0,
"max-len": ["error", { "code": 100 }],
"linebreak-style": 0,
"eol-last": 0,
"padded-blocks": 0,
"object-curly-newline": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/no-unused-vars": 0,
"@typescript-eslint/no-var-requires": 0
}
}