'use strict'; module.exports = { root: true, parserOptions: { ecmaVersion: 6, sourceType: 'module', ecmaFeatures: { jsx: true, }, }, env: { browser: true, mocha: true, node: true, es6: true, }, parser: 'babel-eslint', plugins: ['react', 'babel'], extends: ['eslint:recommended', 'plugin:react/recommended'], rules: { // Other rules 'no-console': 'off', 'valid-jsdoc': ['error', {requireReturn: false}], eqeqeq: 'error', // The following rules can be used in some cases. See the README for more // information. (These are marked with `0` instead of `"off"` so that a // script can distinguish them.) curly: 0, 'max-len': 0, 'no-mixed-operators': 0, quotes: 0, // The rest are rules that you never need to enable when using Prettier. 'array-bracket-spacing': 'off', 'arrow-parens': 'off', 'arrow-spacing': 'off', 'block-spacing': 'off', 'brace-style': 'off', 'comma-dangle': 'off', 'comma-spacing': 'off', 'comma-style': 'off', 'computed-property-spacing': 'off', 'dot-location': 'off', 'eol-last': 'off', 'func-call-spacing': 'off', 'generator-star': 'off', 'generator-star-spacing': 'off', indent: 'off', 'jsx-quotes': 'off', 'key-spacing': 'off', 'keyword-spacing': 'off', 'multiline-ternary': 'off', 'newline-per-chained-call': 'off', 'new-parens': 'off', 'no-arrow-condition': 'off', 'no-comma-dangle': 'off', 'no-confusing-arrow': 'off', 'no-extra-parens': 'off', 'no-extra-semi': 'off', 'no-mixed-spaces-and-tabs': 'off', 'no-multi-spaces': 'off', 'no-multiple-empty-lines': 'off', 'no-reserved-keys': 'off', 'no-space-before-semi': 'off', 'no-spaced-func': 'off', 'no-trailing-spaces': 'off', 'no-whitespace-before-property': 'off', 'no-wrap-func': 'off', 'nonblock-statement-body-position': 'off', 'object-curly-newline': 'off', 'object-curly-spacing': 'off', 'object-property-newline': 'off', 'one-var-declaration-per-line': 'off', 'operator-linebreak': 'off', 'padded-blocks': 'off', 'quote-props': 'off', 'rest-spread-spacing': 'off', semi: 'off', 'semi-spacing': 'off', 'space-after-function-name': 'off', 'space-after-keywords': 'off', 'space-before-blocks': 'off', 'space-before-function-paren': 'off', 'space-before-function-parentheses': 'off', 'space-before-keywords': 'off', 'space-in-brackets': 'off', 'space-in-parens': 'off', 'space-infix-ops': 'off', 'space-return-throw-case': 'off', 'space-unary-ops': 'off', 'space-unary-word-ops': 'off', 'template-curly-spacing': 'off', 'template-tag-spacing': 'off', 'unicode-bom': 'off', 'wrap-iife': 'off', 'wrap-regex': 'off', 'yield-star-spacing': 'off', }, };