module.exports = { env: { browser: true, es2021: true, jest: true, }, extends: [ 'plugin:react/recommended', 'airbnb', ], parserOptions: { ecmaFeatures: { jsx: true, }, ecmaVersion: 12, sourceType: 'module', }, plugins: [ 'react', ], rules: { 'import/prefer-default-export': 'off', 'react/jsx-filename-extension': [1, { extensions: ['.js', '.jsx'] }], 'react/destructuring-assignment': [0, 'never'], 'react/jsx-props-no-spreading': 'off', 'react/require-default-props': 'off', 'max-len': ['error', { code: 200 }], 'react/forbid-prop-types': 0, 'import/no-extraneous-dependencies': ['error', { devDependencies: true }], 'no-use-before-define': ['error', { variables: false }], 'no-param-reassign': 0, 'consistent-return': 'off', 'no-shadow': 'off', 'no-irregular-whitespace': 0, 'import/no-cycle': [0, { ignoreExternal: true }], 'no-unused-expressions': [0], 'no-nested-ternary': 0, radix: 0, }, };