Removing import lint rules

Shortcut for importing components is messing with the lint rules and I
can't get a custom resolver working
This commit is contained in:
Jeff Avallone 2019-01-02 19:12:53 -05:00
parent bad4b4be73
commit 819d4be1a5
3 changed files with 3 additions and 6 deletions

View File

@ -6,8 +6,7 @@
}, },
"extends": [ "extends": [
"eslint:recommended", "eslint:recommended",
"plugin:react/recommended", "plugin:react/recommended"
"plugin:import/recommended"
], ],
"parserOptions": { "parserOptions": {
"ecmaFeatures": { "ecmaFeatures": {
@ -17,8 +16,7 @@
"sourceType": "module" "sourceType": "module"
}, },
"plugins": [ "plugins": [
"react", "react"
"import"
], ],
"rules": { "rules": {
"indent": [ "indent": [

View File

@ -16,7 +16,6 @@
}, },
"dependencies": { "dependencies": {
"eslint": "^5.11.1", "eslint": "^5.11.1",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-react": "^7.12.1", "eslint-plugin-react": "^7.12.1",
"gatsby": "^2.0.81", "gatsby": "^2.0.81",
"gatsby-plugin-react-helmet": "^3.0.5", "gatsby-plugin-react-helmet": "^3.0.5",

View File

@ -3748,7 +3748,7 @@ eslint-plugin-graphql@^2.0.0:
graphql-config "^2.0.1" graphql-config "^2.0.1"
lodash "^4.11.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" version "2.14.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.14.0.tgz#6b17626d2e3e6ad52cfce8807a845d15e22111a8" resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.14.0.tgz#6b17626d2e3e6ad52cfce8807a845d15e22111a8"
integrity sha512-FpuRtniD/AY6sXByma2Wr0TXvXJ4nA/2/04VPlfpmUDPOpOY264x+ILiwnrk/k4RINgDAyFZByxqPUbSQ5YE7g== integrity sha512-FpuRtniD/AY6sXByma2Wr0TXvXJ4nA/2/04VPlfpmUDPOpOY264x+ILiwnrk/k4RINgDAyFZByxqPUbSQ5YE7g==