From 819d4be1a54a7fba106fae8db9c64af27a1231f8 Mon Sep 17 00:00:00 2001 From: Jeff Avallone Date: Wed, 2 Jan 2019 19:12:53 -0500 Subject: [PATCH] Removing import lint rules Shortcut for importing components is messing with the lint rules and I can't get a custom resolver working --- .eslintrc.json | 6 ++---- package.json | 1 - yarn.lock | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 259ff4b..4ec6a87 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -6,8 +6,7 @@ }, "extends": [ "eslint:recommended", - "plugin:react/recommended", - "plugin:import/recommended" + "plugin:react/recommended" ], "parserOptions": { "ecmaFeatures": { @@ -17,8 +16,7 @@ "sourceType": "module" }, "plugins": [ - "react", - "import" + "react" ], "rules": { "indent": [ diff --git a/package.json b/package.json index 230a258..f0aadbe 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,6 @@ }, "dependencies": { "eslint": "^5.11.1", - "eslint-plugin-import": "^2.14.0", "eslint-plugin-react": "^7.12.1", "gatsby": "^2.0.81", "gatsby-plugin-react-helmet": "^3.0.5", diff --git a/yarn.lock b/yarn.lock index afb7b06..c11fe89 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3748,7 +3748,7 @@ eslint-plugin-graphql@^2.0.0: graphql-config "^2.0.1" lodash "^4.11.1" -eslint-plugin-import@^2.14.0, eslint-plugin-import@^2.9.0: +eslint-plugin-import@^2.9.0: version "2.14.0" resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.14.0.tgz#6b17626d2e3e6ad52cfce8807a845d15e22111a8" integrity sha512-FpuRtniD/AY6sXByma2Wr0TXvXJ4nA/2/04VPlfpmUDPOpOY264x+ILiwnrk/k4RINgDAyFZByxqPUbSQ5YE7g==