-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy path.eslintrc.cjs
40 lines (40 loc) · 1.31 KB
/
.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
29
30
31
32
33
34
35
36
37
38
39
40
module.exports = {
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"standard-with-typescript"
],
parser: '@typescript-eslint/parser',
"plugins": [
"@typescript-eslint"
],
parserOptions: {
parser: '@typescript-eslint/parser',
project: './tsconfig.json',
tsconfigRootDir: __dirname,
},
root: true,
rules: {
"@typescript-eslint/no-explicit-any":0,
"@typescript-eslint/return-await": 0,
"@typescript-eslint/no-this-alias": 0,
"@typescript-eslint/no-var-requires": 0,
"@typescript-eslint/no-unused-vars": 0,
"@typescript-eslint/restrict-template-expressions": 0,
"@typescript-eslint/no-misused-promises": 0,
"@typescript-eslint/strict-boolean-expressions": 0,
"@typescript-eslint/consistent-type-assertions": 0,
"@typescript-eslint/no-extraneous-class": 0,
"@typescript-eslint/no-dynamic-delete": 0,
"no-this-assignment": 0,
"no-async-promise-executor": 0,
"valid-typeof": 0,
"@typescript-eslint/consistent-type-imports":0,
"@typescript-eslint/ban-types":0,
"@typescript-eslint/prefer-ts-expect-error":0,
"@typescript-eslint/explicit-function-return-type":0,
"@typescript-eslint/no-unsafe-argument":0,
"@typescript-eslint/unbound-method":0
},
};