-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
24 lines (24 loc) · 871 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
module.exports = {
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
parser: '@typescript-eslint/parser',
parserOptions: {
project: true,
tsconfigRootDir: __dirname
},
plugins: ['@typescript-eslint'],
root: true,
ignorePatterns: ['*.js', '*.d.ts'],
rules: {
'no-unused-vars': ['off'],
'@typescript-eslint/no-unsafe-member-access': ['off'],
'@typescript-eslint/no-unsafe-call': ['off'],
'@typescript-eslint/no-unsafe-assignment': ['off'],
'@typescript-eslint/no-unsafe-argument': ['off'],
'@typescript-eslint/no-unsafe-return': ['off'],
'@typescript-eslint/require-await': ['off'],
'@typescript-eslint/unbound-method': ['off'],
'@typescript-eslint/no-non-null-assertion': ['off'],
'@typescript-eslint/no-floating-promises': ['off'],
'@typescript-eslint/ban-types': ['off']
}
};