-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.cjs
25 lines (24 loc) · 860 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
const { eslint } = require('@siberiacancode/eslint');
module.exports = {
...eslint.node,
overrides: [
...eslint.node.overrides,
{
files: ['*.ts'],
rules: {
'@typescript-eslint/no-floating-promises': 'off',
'@typescript-eslint/await-thenable': 'off',
'@typescript-eslint/no-unsafe-assignment': 'off',
'@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/no-unsafe-argument': 'off',
'@typescript-eslint/no-unsafe-call': 'off',
'@typescript-eslint/no-unsafe-enum-comparison': 'off',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/naming-convention': 'off',
'no-underscore-dangle': 'off',
'no-restricted-syntax': 'off',
'promise/always-return': ['error', { ignoreLastCallback: true }]
}
}
]
};