1 | "use strict";
|
2 |
|
3 |
|
4 |
|
5 | module.exports = {
|
6 | extends: ['./configs/base', './configs/eslint-recommended'],
|
7 | rules: {
|
8 | '@typescript-eslint/await-thenable': 'error',
|
9 | '@typescript-eslint/no-floating-promises': 'error',
|
10 | '@typescript-eslint/no-for-in-array': 'error',
|
11 | 'no-implied-eval': 'off',
|
12 | '@typescript-eslint/no-implied-eval': 'error',
|
13 | '@typescript-eslint/no-misused-promises': 'error',
|
14 | '@typescript-eslint/no-unnecessary-type-assertion': 'error',
|
15 | '@typescript-eslint/no-unsafe-argument': 'error',
|
16 | '@typescript-eslint/no-unsafe-assignment': 'error',
|
17 | '@typescript-eslint/no-unsafe-call': 'error',
|
18 | '@typescript-eslint/no-unsafe-member-access': 'error',
|
19 | '@typescript-eslint/no-unsafe-return': 'error',
|
20 | 'require-await': 'off',
|
21 | '@typescript-eslint/require-await': 'error',
|
22 | '@typescript-eslint/restrict-plus-operands': 'error',
|
23 | '@typescript-eslint/restrict-template-expressions': 'error',
|
24 | '@typescript-eslint/unbound-method': 'error',
|
25 | },
|
26 | };
|
27 |
|
\ | No newline at end of file |