module.exports = { extends: ['react-app', 'prettier', 'plugin:jsx-a11y/recommended'], plugins: ['prettier', 'react-hooks', 'jsx-a11y'], env: { es6: true, browser: true, node: true, mocha: true, jasmine: true, }, parser: '@babel/eslint-parser', parserOptions: { ecmaVersion: 6, sourceType: 'module', ecmaFeatures: { legacyDecorators: true, }, }, rules: { 'import/no-unresolved': 0, 'no-alert': 1, 'no-console': 1, 'no-debugger': 1, 'prettier/prettier': ['error', { trailingComma: 'all', singleQuote: true }], 'react-hooks/rules-of-hooks': 'error', 'react-hooks/exhaustive-deps': 'warn', 'react/react-in-jsx-scope': 'off', }, globals: { root: true, __DEVELOPMENT__: true, __CLIENT__: true, __SERVER__: true, __DISABLE_SSR__: true, __DEVTOOLS__: true, __DEBUG__: true, __SSR__: true, __SENTRY__: true, cy: true, Cypress: true, jest: true, socket: true, webpackIsomorphicTools: true, }, };