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:
parent
bad4b4be73
commit
819d4be1a5
@ -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": [
|
||||
|
@ -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",
|
||||
|
@ -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==
|
||||
|
Loading…
Reference in New Issue
Block a user