From f261c84e0079ad9babcaf47f22b90b56d44a5ba6 Mon Sep 17 00:00:00 2001 From: raboid Date: Wed, 9 Jan 2019 11:04:19 -0500 Subject: [PATCH] add no-duplicate-imports to eslint --- .eslintrc.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index 5ea9071..1b985c8 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -19,7 +19,8 @@ module.exports = { 'react/display-name': 'off', 'react/jsx-uses-react': 'error', 'react/jsx-uses-vars': 'error', - 'import/no-unresolved': 2 + 'import/no-unresolved': 'error', + 'no-duplicate-imports': 'error' }, settings: { react: {