import tseslint from '@typescript-eslint/eslint-plugin'; import tsparser from '@typescript-eslint/parser'; import prettier from 'eslint-plugin-prettier'; import eslintConfigPrettier from 'eslint-config-prettier'; export default [ { files: ['**/*.ts'], languageOptions: { parser: tsparser, }, plugins: { '@typescript-eslint': tseslint, prettier, }, rules: { ...tseslint.configs.recommended.rules, ...eslintConfigPrettier.rules, 'prettier/prettier': 'error', }, }, { ignores: ['lib/**', 'node_modules/**'], }, ];