-
-
Notifications
You must be signed in to change notification settings - Fork 334
/
.eslintrc.js
39 lines (39 loc) · 1.41 KB
/
.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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
module.exports = {
extends: 'standard-with-typescript',
parserOptions: {
tsconfigRootDir: __dirname,
project: [
'./ui/tsconfig.eslint.json',
'./modules/*/tsconfig.eslint.json'
]
},
overrides: [{
files: ['*.ts'],
rules: {
radix: 'off',
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'accessor-pairs': 'off',
'return-undefined': 'off',
'no-throw-literal': 'off',
'import-first': 'off',
'@typescript-eslint/array-type': 'off',
'@typescript-eslint/consistent-type-assertions': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/no-empty-interface': 'off',
'@typescript-eslint/no-extraneous-class': 'off',
'@typescript-eslint/no-floating-promises': 'off',
'@typescript-eslint/require-await': 'off',
'@typescript-eslint/restrict-template-expressions': 'off',
'@typescript-eslint/promise-function-async': 'off',
'@typescript-eslint/no-misused-promises': 'off',
'array-bracket-spacing': ['error', 'always'],
'@typescript-eslint/quotes': ['error', 'single', { avoidEscape: true }],
'@typescript-eslint/strict-boolean-expressions': 'off',
'@typescript-eslint/return-await': 'off',
'node/no-callback-literal': 'off',
'no-async-promise-executor': 'off',
'@typescript-eslint/no-dynamic-delete': 'off'
}
}]
}