module.exports = { extends: [ 'eslint:recommended', 'plugin:react/recommended', 'plugin:@typescript-eslint/recommended', 'plugin:@typescript-eslint/eslint-recommended', 'plugin:prettier/recommended', 'prettier/@typescript-eslint' ], plugins: ['@typescript-eslint', 'react'], parser: '@typescript-eslint/parser', env: { browser: true, node: true, es6: true }, settings: { react: { version: 'detect' } }, parserOptions: { sourceType: 'module', ecmaFeatures: { jsx: true } }, rules: { 'react/react-in-jsx-scope': 'off', '@typescript-eslint/explicit-module-boundary-types': 'off' }, overrides: [ { files: ['*.js'], rules: { '@typescript-eslint/no-var-requires': ['off'] } } ] }