-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.json
56 lines (56 loc) · 1.51 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
{
"parser": "@typescript-eslint/parser",
"env": {
"es6": true,
"node": true
},
"extends": [
"airbnb-base",
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended"
],
"parserOptions": { "ecmaVersion": 2018, "sourceType": "module" },
"plugins": ["@typescript-eslint", "promise"],
"rules": {
"@typescript-eslint/member-delimiter-style": "off",
"@typescript-eslint/no-magic-numbers": 0,
"@typescript-eslint/explicit-member-accessibility": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/camelcase": 0,
"@typescript-eslint/no-explicit-any": 0,
"semi": "off",
"indent": "off",
"no-unused-vars": 0,
"linebreak-style": ["error", "unix"],
"quotes": "off",
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
"no-return-assign": 0,
"global-require": "off",
"no-constant-condition": [
"error",
{
"checkLoops": false
}
],
"no-underscore-dangle": 0,
"lines-between-class-members": 0,
"comma-dangle": 0,
"no-shadow": "off",
"no-nested-ternary": 0,
"promise/prefer-await-to-then": "error",
"promise/prefer-await-to-callbacks": 0,
"class-methods-use-this": "off",
"import/no-dynamic-require": "off",
"no-restricted-syntax": "off",
"no-await-in-loop": "off",
"camelcase": "off"
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".ts"]
}
}
}
}