Files

11 lines
473 B
JavaScript
Raw Permalink Normal View History

2026-12-04 10:06:21 -03:00
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 },
)