-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc.js
26 lines (25 loc) · 913 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
25
26
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 }],
'arrow-body-style': ['error', 'as-needed']
}
}
]
};