File
Blob: src/pyodide/eslint.config.mjs
| 1 | import { baseConfig } from '../../tools/base.eslint.config.mjs'; |
| 2 | |
| 3 | export default [ |
| 4 | ...baseConfig(), |
| 5 | { |
| 6 | rules: { |
| 7 | '@typescript-eslint/no-explicit-any': 'off', |
| 8 | '@typescript-eslint/no-non-null-assertion': 'off', |
| 9 | '@typescript-eslint/no-unnecessary-condition': 'off', |
| 10 | 'no-empty': [ |
| 11 | 'error', |
| 12 | { |
| 13 | allowEmptyCatch: true, |
| 14 | }, |
| 15 | ], |
| 16 | }, |
| 17 | }, |
| 18 | ]; |