|
| 1 | +--- |
| 2 | +parser: babel-eslint |
| 3 | +env: |
| 4 | + browser: true |
| 5 | +extends: [airbnb, plugin:react/recommended] |
| 6 | +plugins: [import, react] |
| 7 | +settings: |
| 8 | + import/resolver: |
| 9 | + webpack: |
| 10 | + config: webpack.config.js |
| 11 | + |
| 12 | +rules: |
| 13 | + array-callback-return: 1 |
| 14 | + arrow-parens: 1 |
| 15 | + camelcase: off |
| 16 | + class-methods-use-this: 1 |
| 17 | + comma-dangle: [1, only-multiline] |
| 18 | + consistent-return: 0 |
| 19 | + default-case: 0 |
| 20 | + dot-notation: 1 |
| 21 | + eqeqeq: 1 |
| 22 | + guard-for-in: 1 |
| 23 | + import/imports-first: 1 |
| 24 | + import/no-mutable-exports: 0 |
| 25 | + jsx-a11y/anchor-is-valid: [warn, {"aspects": [invalidHref]}] |
| 26 | + jsx-a11y/href-no-hash: 'off' |
| 27 | + jsx-a11y/label-has-for: 0 |
| 28 | + jsx-a11y/no-static-element-interactions: 1 |
| 29 | + max-len: [0, 80, 2, {"ignoreComments": true}] |
| 30 | + no-bitwise: 1 |
| 31 | + no-class-assign: 0 |
| 32 | + no-cond-assign: [2, except-parens] |
| 33 | + no-continue: 1 |
| 34 | + no-else-return: 0 |
| 35 | + no-extend-native: 1 |
| 36 | + no-fallthrough: 'off' |
| 37 | + no-param-reassign: 0 |
| 38 | + no-plusplus: 1 |
| 39 | + no-prototype-builtins: 1 |
| 40 | + no-restricted-syntax: 1 |
| 41 | + no-unused-expressions: 1 |
| 42 | + no-unused-vars: [1, {"args": none, "vars": local}] |
| 43 | + no-use-before-define: 1 |
| 44 | + prefer-const: 1 |
| 45 | + quote-props: [1, consistent-as-needed] |
| 46 | + quotes: 0 |
| 47 | + radix: 0 |
| 48 | + react/forbid-prop-types: 1 |
| 49 | + space-infix-ops: 0 |
| 50 | + no-underscore-dangle: [2, {"allowAfterThis": true}] |
| 51 | + vars-on-top: 0 |
| 52 | + object-curly-newline: [2, {"consistent": true}] |
| 53 | + function-paren-newline: [2, "consistent"] |
| 54 | + react/no-array-index-key: 1 |
| 55 | + jsx-a11y/click-events-have-key-events: 0 |
| 56 | + jsx-a11y/no-noninteractive-element-interactions: 1 |
| 57 | + prefer-promise-reject-errors: 1 |
| 58 | + react/jsx-key: 1 |
| 59 | + indent: 1 |
| 60 | + import/no-unresolved: 1 |
| 61 | + import/extensions: 1 |
| 62 | + react/destructuring-assignment: 1 |
| 63 | + react/jsx-one-expression-per-line: 1 |
| 64 | + react/jsx-wrap-multilines: 1 |
| 65 | + operator-linebreak: 1 |
| 66 | + lines-between-class-members: 1 |
| 67 | + react/no-access-state-in-setstate: 1 |
| 68 | + implicit-arrow-linebreak: 1 |
| 69 | + jsx-a11y/label-has-associated-control: 1 |
0 commit comments