UNPKG

673 BJavaScriptView Raw
1module.exports = {
2 extends: [
3 'airbnb',
4 'plugin:flowtype/recommended',
5 ],
6 parser: 'babel-eslint',
7 plugins: [
8 'flowtype',
9 ],
10 rules: {
11 'no-confusing-arrow': 0,
12 'no-mixed-operators': 0,
13 'arrow-parens': 0,
14 'max-len': 0, // Handled by prettier
15 'import/no-extraneous-dependencies': ['error', {'devDependencies': ['**/*.test.js', '**/*.story.js']}],
16 'import/prefer-default-export': 0,
17 'react/jsx-filename-extension': [1, { extensions: ['.js', '.jsx'] }],
18 'react/prop-types': 0,
19 },
20 globals: {
21 Drupal: false,
22 __CLIENT__: false,
23 __SERVER__: false,
24 __DEVELOPMENT__: false,
25 __PRODUCTION__: false,
26 },
27};