module.exports = { settings: { react: { version: 'detect', }, }, env: { browser: true, jest: true, }, plugins: ['react'], extends : ['airbnb-base', 'plugin:react/recommended'], parser: '@babel/eslint-parser', rules: { // "react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }], indent: [2, 2, { SwitchCase: 1 }], 'key-spacing': 0, strict: 0, 'no-return-assign': 0, 'no-param-reassign': 0, 'import/no-extraneous-dependencies': 0, 'no-underscore-dangle': 0, 'import/prefer-default-export': 0, 'import/extensions': 0, 'import/no-unresolved': 0, 'prefer-template': 1, 'no-useless-escape': 1, 'no-return-await': 0, 'consistent-return': 0, 'no-else-return': 0, 'global-require': 0, 'no-confusing-arrow': 0, 'max-len': ['error', { code: 160 }], 'func-names': 0, 'class-methods-use-this': 0, camelcase: 0, radix: 0, 'react/prop-types': [2, { ignore: ['className', 'children', 'id', 'onClick', 'style', 'key'] }], }, };