module.exports = { parser: '@typescript-eslint/parser', // plugins: ['@typescript-eslint', 'react'], extends: [ "plugin:react/recommended", // Uses the recommended rules from @eslint-plugin-react 'plugin:@typescript-eslint/recommended' ], parserOptions: { ecmaVersion: 2018, // Allows for the parsing of modern ECMAScript features sourceType: "module", // Allows for the use of imports ecmaFeatures: { jsx: true // Allows for the parsing of JSX } }, rules: { "@typescript-eslint/explicit-function-return-type": "off", }, settings: { react: { version: "detect" // Tells eslint-plugin-react to automatically detect the version of React to use } } };