File
Blob: types/eslint.config.mjs
| 1 | import { baseConfig } from '../tools/base.eslint.config.mjs'; |
| 2 | |
| 3 | export default [ |
| 4 | ...baseConfig(), |
| 5 | { |
| 6 | rules: { |
| 7 | '@typescript-eslint/ban-ts-comment': 'off', |
| 8 | '@typescript-eslint/no-non-null-assertion': 'off', |
| 9 | '@typescript-eslint/no-explicit-any': 'off', |
| 10 | '@typescript-eslint/no-empty-function': 'off', |
| 11 | '@typescript-eslint/no-floating-promises': 'off', |
| 12 | '@typescript-eslint/no-unused-vars': [ |
| 13 | 'error', |
| 14 | { argsIgnorePattern: '^_' }, |
| 15 | ], |
| 16 | // TODO(soon): Enable the following eslint rules. |
| 17 | // The following rules require Typescript changes |
| 18 | '@typescript-eslint/no-unnecessary-condition': 'off', |
| 19 | '@typescript-eslint/no-unnecessary-boolean-literal-compare': 'off', |
| 20 | }, |
| 21 | }, |
| 22 | ]; |