module.exports = { root: true, env: { browser: true, jest: true }, extends: [ 'plugin:@typescript-eslint/recommended', 'prettier/@typescript-eslint' ], plugins: ['@typescript-eslint', 'react', 'react-hooks'], parserOptions: { ecmaVersion: 2018, sourceType: 'module' }, rules: { '@typescript-eslint/prefer-interface': 'off', '@typescript-eslint/no-explicit-any': 'off', '@typescript-eslint/explicit-function-return-type': 'off', '@typescript-eslint/no-var-requires': 'off', '@typescript-eslint/ban-ts-ignore': 'off', 'react/jsx-uses-react': 'error', 'react/jsx-uses-vars': 'error', 'react-hooks/rules-of-hooks': 'error' } }