module.exports = { root: true, env: { node: true, es2021: true, browser: true, }, extends: [ 'eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:react/recommended', 'plugin:react-hooks/recommended', ], parser: '@typescript-eslint/parser', parserOptions: { ecmaVersion: 2021, sourceType: 'module', ecmaFeatures: { jsx: true, }, }, plugins: ['@typescript-eslint', 'react', 'react-hooks'], rules: { '@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }], '@typescript-eslint/explicit-module-boundary-types': 'off', '@typescript-eslint/no-explicit-any': 'warn', 'react/react-in-jsx-scope': 'off', 'react/prop-types': 'off', 'no-console': ['warn', { allow: ['warn', 'error'] }], }, settings: { react: { version: 'detect', }, }, ignorePatterns: ['node_modules/', 'dist/', 'build/', '*.config.js'], };