UNPKG

566 BJavaScriptView Raw
1module.exports = {
2 extends: ['eslint:recommended', 'plugin:react/recommended'],
3 parser: 'babel-eslint',
4 env: {
5 browser: true,
6 },
7 plugins: ['react', 'jsx-a11y', 'import'],
8 rules: {
9 'operator-linebreak': 0,
10 'no-restricted-globals': 0,
11 'max-len': ['error', { code: 160 }],
12 'arrow-parens': 0,
13 'react/jsx-filename-extension': [1, { extensions: ['.js', '.jsx'] }],
14 'react/destructuring-assignment': 0,
15 'jsx-a11y/tabindex-no-positive': 0,
16 'jsx-a11y/no-noninteractive-tabindex': 0,
17 'react/jsx-wrap-multilines': 0,
18 },
19};