module.exports = { env: { browser: true, es2021: true, node: true, }, extends: [ 'eslint:recommended', 'plugin:react/recommended', 'airbnb', 'airbnb/hooks', ], parserOptions: { ecmaFeatures: { jsx: true, }, ecmaVersion: 13, sourceType: 'module', }, plugins: [ 'react', ], settings: { 'import/resolver': 'webpack', }, rules: { 'no-console': 'off', 'linebreak-style': [0, 'error', 'windows'], 'react/jsx-filename-extension': [1, { extensions: ['.js', '.jsx'], }], 'no-unused-expressions': [1, { allowShortCircuit: true, allowTernary: true, }], 'max-len': [1, { code: 300, }], 'react/prop-types': 0, 'class-methods-use-this': 'off', }, };