// .eslintrc.js module.exports = { root: true, parser: '@typescript-eslint/parser', parserOptions: { ecmaVersion: 2020, sourceType: 'module', ecmaFeatures: { jsx: true, }, }, plugins: ['@typescript-eslint', 'react', 'react-hooks'], extends: [ 'eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:react/recommended', 'plugin:react-hooks/recommended', 'next', 'next/core-web-vitals', ], rules: { semi: ['error', 'never'], // Disable semicolons '@typescript-eslint/semi': ['error', 'never'], '@typescript-eslint/explicit-function-return-type': 'off', '@typescript-eslint/no-explicit-any': 'off', 'react/react-in-jsx-scope': 'off', 'react/prop-types': 'off', }, settings: { react: { version: 'detect', }, }, }