import js from '@eslint/js' import globals from 'globals' import hooks from 'eslint-plugin-react-hooks' import tseslint from 'typescript-eslint' export default tseslint.config( { ignores: ['dist', 'node_modules', '.pnpm-store', 'node-compile-cache'] }, js.configs.recommended, ...tseslint.configs.recommended, { files: ['**/*.{ts,tsx}'], languageOptions: { globals: globals.browser }, plugins: { 'react-hooks': hooks }, rules: hooks.configs.recommended.rules }, )