module.exports = { parser: 'babel-eslint', plugins: ['import'], extends: 'airbnb', env: { es6: true, browser: true, node: true, mocha: true, }, rules: { 'react/jsx-filename-extension': 'off', 'react/jsx-closing-bracket-location': 'off', 'jsx-a11y/no-static-element-interactions': 'off', 'jsx-a11y/click-events-have-key-events': 'off', 'react/forbid-prop-types': 'off', 'react/no-unescaped-entities': 'off', 'react/sort-comp': 'off', 'class-methods-use-this': 'off', 'max-len': [ 'error', { code: 120, ignoreComments: true, ignoreUrls: true, ignoreStrings: true, ignoreTemplateLiterals: true, ignoreRegExpLiterals: true, }, ], 'arrow-parens': ['error', 'as-needed'], 'comma-dangle': [ 'error', { arrays: 'always-multiline', objects: 'always-multiline', imports: 'always-multiline', exports: 'always-multiline', functions: 'ignore', }, ], 'no-param-reassign': [ 'error', { props: false, }, ], }, globals: { logger: true, }, };