-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
42 lines (42 loc) · 1.15 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
{
"env": {
"es6": true,
"node": true,
"jest": true
},
"extends": [
"airbnb-base"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"linebreak-style": 0,
"import/prefer-default-export": "off",
"@typescript-eslint/explicit-function-return-type": ["off"],
"no-tabs": ["error", { "allowIndentationTabs": true }],
"eol-last": ["error", "never"],
"class-methods-use-this": "off",
"no-console": "off",
"no-control-regex": "off",
"no-restricted-syntax": "off",
"no-await-in-loop": "off",
"no-param-reassign": "off",
"lines-between-class-members": ["error", "always", { "exceptAfterSingleLine": true }],
"radix": ["error", "as-needed"],
"max-len": ["error", { "ignoreComments": true, "code": 200 }],
"import/extensions": ["high", {
"ts": "never"
}]
},
"settings": {
"import/resolver": {
"typescript": {}
}
}
}