From 989b070e903536370229c2a63ddcea906b949432 Mon Sep 17 00:00:00 2001 From: Sebastian Werner Date: Thu, 17 Aug 2017 09:04:29 +0200 Subject: [PATCH] fix(): Fixed eslint config to work in new environment. --- .eslintrc.js | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 3719891..9a49474 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -13,7 +13,14 @@ module.exports = { settings: { flowtype: { onlyFilesWithFlowAnnotation: true - } + }, + 'import/resolver': { + node: { + extensions: ['.js', '.css', '.json', '.styl'] + } + }, + 'import/extensions': ['.js'], + 'import/ignore': ['node_modules', 'flow-typed', '\\.(css|styl|svg|json)$'] }, globals: { window: true, @@ -29,14 +36,8 @@ module.exports = { expect: true, beforeEach: true }, - 'import/resolver': { - node: { - extensions: ['.js', '.css', '.json', '.styl'] - } - }, - 'import/extensions': ['.js'], - 'import/ignore': ['node_modules', 'flow-typed', '\\.(css|styl|svg|json)$'], rules: { + 'jsx-a11y/href-no-hash': 0, 'no-shadow': 0, 'no-use-before-define': 0, 'no-param-reassign': 0,