module.exports = { env: { es6: true, // sets the 'ecmaVersion' parser option to 6 node: true }, extends: ['eslint:recommended', 'plugin:prettier/recommended'], plugins: ['import'], rules: { 'no-console': 0, 'no-control-regex': 0, 'no-debugger': 1, 'no-empty': 0, 'no-negated-in-lhs': 2, 'no-regex-spaces': 0, 'block-scoped-var': 1, eqeqeq: [1, 'smart'], 'no-caller': 2, 'no-div-regex': 1, 'no-eval': 1, 'no-extra-bind': 1, 'no-implied-eval': 1, 'no-iterator': 2, 'no-labels': 2, 'no-native-reassign': 2, 'no-new-func': 2, 'no-new-wrappers': 2, 'no-new': 1, 'no-octal-escape': 1, 'no-proto': 2, 'no-redeclare': [2, {builtinGlobals: true}], 'no-return-assign': [2, 'except-parens'], 'no-self-compare': 2, 'no-sequences': 2, 'no-throw-literal': 2, 'no-unused-expressions': [1, {allowShortCircuit: true, allowTernary: true}], 'no-useless-call': 2, 'no-useless-return': 1, 'no-with': 2, radix: [1, 'as-needed'], 'no-catch-shadow': 2, 'no-label-var': 2, 'no-shadow-restricted-names': 2, 'no-shadow': [2, {builtinGlobals: true, hoist: 'all', allow: ['context']}], 'no-use-before-define': [2, {functions: false}], 'linebreak-style': 1, 'new-cap': [2, {newIsCap: true, capIsNew: false}], 'no-array-constructor': 2, 'no-lonely-if': 1, 'no-new-object': 1, 'no-unneeded-ternary': 1, 'spaced-comment': [1, 'always', {markers: ['*']}], 'require-yield': 0, 'no-var': 1, 'prefer-const': 1, 'prefer-arrow-callback': [1, {allowNamedFunctions: true}], 'import/no-unresolved': [2, {commonjs: true, caseSensitive: true}], 'import/named': 2, 'import/first': 1, 'import/no-duplicates': 2, 'import/extensions': [1, 'always', {js: 'never', json: 'always'}], 'import/newline-after-import': 1, 'import/order': [1, {'newlines-between': 'never'}] } };