-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
71 lines (71 loc) · 1.54 KB
/
.eslintrc
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"root": true,
"env": {
"node": true,
"es6": true
},
"settings": {
"node": {
"tryExtensions": [
".js",
".json",
".node",
".ts",
".d.ts"
]
}
},
"extends": [
"airbnb-typescript/base",
"prettier",
"plugin:node/recommended",
"plugin:@typescript-eslint/recommended"
],
"plugins": [
"prettier",
"import"
],
"parserOptions": {
"parser": "@typescript-eslint/parser",
"ecmaVersion": 2018,
"sourceType": "module",
"project": [
"./tsconfig.json"
]
},
"rules": {
"prettier/prettier": "error",
"deprecation/deprecation": "warn",
"no-unused-vars": [
"warn",
{
"args": "none"
}
],
"no-unused-expressions": [
"warn",
{
"allowTernary": true
}
],
"require-await": "warn",
// "import/no-cycle": "off",
// "no-console": "off",
// "func-names": "off",
// "object-shorthand": "off",
// "class-methods-use-this": "off",
// "import/no-dynamic-require": "off",
// "global-require": "off",
// "no-shadow": "off",
// "no-useless-constructor": "off",
"node/no-unsupported-features/es-syntax": "off",
"node/no-unpublished-require": "off",
// "lines-between-class-members": "off",
// "import/prefer-default-export": "off",
// "import/named": "off",
"@typescript-eslint/no-var-requires": "off"
// "@typescript-eslint/no-explicit-any": "off",
// "@typescript-eslint/interface-name-prefix": "off"
},
"overrides": []
}