import eslint from '@eslint/js'; import tseslint from 'typescript-eslint'; export default tseslint.config( eslint.configs.recommended, ...tseslint.configs.strict, ...tseslint.configs.stylisticTypeChecked, { languageOptions: { parserOptions: { projectService: true, project: './tsconfig.json', tsconfigRootDir: import.meta.dirname, }, }, rules: { '@typescript-eslint/ban-ts-comment': [ 'error', { 'ts-expect-error': false, 'ts-nocheck': false, 'ts-check': true, }, ], }, }, );