-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.eslintrc.json
More file actions
123 lines (123 loc) · 2.48 KB
/
.eslintrc.json
File metadata and controls
123 lines (123 loc) · 2.48 KB
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"env": {
"es6": true,
"node": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2021,
"sourceType": "module"
},
"extends": [
"plugin:import/recommended",
"plugin:import/typescript",
"plugin:node/recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"plugins": [
"jest",
"prettier",
"no-only-tests"
],
"settings": {
"import/parsers": {
"@typescript-eslint/parser": [
".ts"
]
},
"import/resolver": {
"typescript": {}
}
},
"rules": {
"prettier/prettier": [
"error"
],
"no-process-exit": "off",
"no-const-assign": "error",
"no-this-before-super": "error",
"no-undef": "warn",
"no-unreachable": "warn",
"no-unused-vars": "off",
"constructor-super": "warn",
"valid-typeof": "warn",
"no-debugger": "error",
"import/no-commonjs": "error",
"import/no-named-as-default": "off",
"import/no-named-as-default-member": "off",
"node/exports-style": "off",
"node/shebang": [
"error",
{
"convertPath": {
"src/**/*.js": [
"src/(.+)$",
"build/$1"
],
"src/**/*.ts": [
"src/(.+)ts$",
"build/$1js"
]
}
}
],
"node/no-missing-import": "off",
"node/file-extension-in-import": [
"error",
"always",
{
"tryExtensions": [
".js"
]
}
],
"no-only-tests/no-only-tests": "error",
"@typescript-eslint/no-extra-semi": [
0
],
"@typescript-eslint/no-unused-vars": [
"error",
{
"varsIgnorePattern": "^_",
"args": "all",
"argsIgnorePattern": "^_"
}
],
"node/no-unsupported-features/es-syntax": [
"error",
{
"ignores": [
"modules",
"dynamicImport"
]
}
],
"@typescript-eslint/member-delimiter-style": [
"error",
{
"multiline": {
"delimiter": "none"
}
}
],
"@typescript-eslint/no-use-before-define": [
"off"
],
"@typescript-eslint/no-var-requires": [
"off"
],
"@typescript-eslint/no-explicit-any": [
"off"
],
"@typescript-eslint/explicit-function-return-type": [
"off"
],
"@typescript-eslint/no-empty-interface": [
"off"
],
"@typescript-eslint/explicit-module-boundary-types": [
"off"
]
}
}