-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.cjs
28 lines (28 loc) · 927 Bytes
/
.eslintrc.cjs
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
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
plugins: [
'@typescript-eslint'
],
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended'
],
rules: {
"@typescript-eslint/ban-types": 0,
"@typescript-eslint/ban-ts-comment": 0,
"no-constant-condition": 0,
"prefer-const": 0, // this is the absolute worst i cant do it anymore
"@typescript-eslint/no-empty-interface": [
"warn",
{
"allowSingleExtends": true
}
],
"@typescript-eslint/no-non-null-assertion": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-empty-function": 0,
"no-unused-vars": 0,
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "(^h$)|(^_.*)", "varsIgnorePattern": "(^h$)|(^_.*)" }]
}
}