.eslintrc.js 815 Bytes
Newer Older
jim's avatar
jim committed
1
module.exports = {
2 3
  parser: 'babel-eslint',
  extends: ['airbnb', 'prettier'],
jim's avatar
jim committed
4 5 6 7 8 9 10 11 12
  env: {
    browser: true,
    node: true,
    es6: true,
    mocha: true,
    jest: true,
    jasmine: true,
  },
  rules: {
13 14 15 16 17 18
    'react/jsx-filename-extension': [1, { extensions: ['.js'] }],
    'react/jsx-wrap-multilines': 0,
    'react/prop-types': 0,
    'react/prefer-stateless-function': 0,
    'react/forbid-prop-types': 0,
    'react/jsx-one-expression-per-line': 0,
ζ„šι“'s avatar
ζ„šι“ committed
19 20 21 22 23 24 25
    'import/no-unresolved': 0,
    'import/no-extraneous-dependencies': 0,
    'jsx-a11y/no-noninteractive-element-interactions': 0,
    'jsx-a11y/click-events-have-key-events': 0,
    'jsx-a11y/no-static-element-interactions': 0,
    'jsx-a11y/anchor-is-valid': 0,
    'consistent-return': 0,
jim's avatar
jim committed
26 27 28 29 30
  },
  settings: {
    polyfills: ['fetch', 'promises'],
  },
};