Skip to content

Commit

Permalink
chore(deps): update dependency eslint-plugin-import to v2.20.0 (#423)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency eslint-plugin-import to v2.20.0

* chore(eslint): Add settings for eslint-plugin-import

to cope with `import/extension` violation

ref. import-js/eslint-plugin-import#1558

Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
Co-authored-by: cheezenaan <cheezenaan@gmail.com>
  • Loading branch information
3 people committed Jan 22, 2020
1 parent 349f011 commit f753af9
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 17 deletions.
9 changes: 9 additions & 0 deletions .eslintrc.json
Expand Up @@ -3,6 +3,7 @@
"extends": [
"plugin:@typescript-eslint/recommended",
"airbnb",
"plugin:import/typescript",
"plugin:prettier/recommended",
"prettier/react"
],
Expand All @@ -16,6 +17,14 @@
"@typescript-eslint/explicit-function-return-type": [
"warn",
{ "allowExpressions": true, "allowTypedFunctionExpressions": true }
],
"import/extensions": [
"error",
"ignorePackages",
{
"js": "never",
"tsx": "never"
}
]
}
}
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -51,7 +51,7 @@
"eslint": "6.8.0",
"eslint-config-airbnb": "18.0.1",
"eslint-config-prettier": "6.9.0",
"eslint-plugin-import": "2.18.2",
"eslint-plugin-import": "2.20.0",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-prettier": "3.1.2",
"eslint-plugin-react": "7.18.0",
Expand Down
25 changes: 9 additions & 16 deletions yarn.lock
Expand Up @@ -4501,7 +4501,7 @@ date-now@^0.1.4:
resolved "https://registry.yarnpkg.com/date-now/-/date-now-0.1.4.tgz#eaf439fd4d4848ad74e5cc7dbef200672b9e345b"
integrity sha1-6vQ5/U1ISK105cx9vvIAZyueNFs=

debug@2, debug@2.6.9, debug@^2.2.0, debug@^2.3.3, debug@^2.6.0, debug@^2.6.3, debug@^2.6.6, debug@^2.6.8, debug@^2.6.9:
debug@2, debug@2.6.9, debug@^2.2.0, debug@^2.3.3, debug@^2.6.0, debug@^2.6.3, debug@^2.6.6, debug@^2.6.9:
version "2.6.9"
resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f"
integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==
Expand Down Expand Up @@ -5408,14 +5408,6 @@ eslint-loader@^2.2.1:
object-hash "^1.1.4"
rimraf "^2.6.1"

eslint-module-utils@^2.4.0:
version "2.4.1"
resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.4.1.tgz#7b4675875bf96b0dbf1b21977456e5bb1f5e018c"
integrity sha512-H6DOj+ejw7Tesdgbfs4jeS4YMFrT8uI8xwd1gtQqXssaR0EQ26L+2O/w6wkYFy2MymON0fTwHmXBvvfLNZVZEw==
dependencies:
debug "^2.6.8"
pkg-dir "^2.0.0"

eslint-module-utils@^2.4.1:
version "2.5.0"
resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.5.0.tgz#cdf0b40d623032274ccd2abd7e64c4e524d6e19c"
Expand Down Expand Up @@ -5444,22 +5436,23 @@ eslint-plugin-graphql@^3.1.0:
graphql-config "^2.0.1"
lodash "^4.11.1"

eslint-plugin-import@2.18.2:
version "2.18.2"
resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.18.2.tgz#02f1180b90b077b33d447a17a2326ceb400aceb6"
integrity sha512-5ohpsHAiUBRNaBWAF08izwUGlbrJoJJ+W9/TBwsGoR1MnlgfwMIKrFeSjWbt6moabiXW9xNvtFz+97KHRfI4HQ==
eslint-plugin-import@2.20.0:
version "2.20.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.20.0.tgz#d749a7263fb6c29980def8e960d380a6aa6aecaa"
integrity sha512-NK42oA0mUc8Ngn4kONOPsPB1XhbUvNHqF+g307dPV28aknPoiNnKLFd9em4nkswwepdF5ouieqv5Th/63U7YJQ==
dependencies:
array-includes "^3.0.3"
array.prototype.flat "^1.2.1"
contains-path "^0.1.0"
debug "^2.6.9"
doctrine "1.5.0"
eslint-import-resolver-node "^0.3.2"
eslint-module-utils "^2.4.0"
eslint-module-utils "^2.4.1"
has "^1.0.3"
minimatch "^3.0.4"
object.values "^1.1.0"
read-pkg-up "^2.0.0"
resolve "^1.11.0"
resolve "^1.12.0"

eslint-plugin-import@^2.19.1:
version "2.19.1"
Expand Down Expand Up @@ -13065,7 +13058,7 @@ resolve-url@^0.2.1:
resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a"
integrity sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=

resolve@^1.10.0, resolve@^1.11.0, resolve@^1.12.0, resolve@^1.3.2, resolve@^1.5.0, resolve@^1.8.1:
resolve@^1.10.0, resolve@^1.12.0, resolve@^1.3.2, resolve@^1.5.0, resolve@^1.8.1:
version "1.12.0"
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.12.0.tgz#3fc644a35c84a48554609ff26ec52b66fa577df6"
integrity sha512-B/dOmuoAik5bKcD6s6nXDCjzUKnaDvdkRyAk6rsmsKLipWj4797iothd7jmmUhWTfinVMU+wc56rYKsit2Qy4w==
Expand Down

0 comments on commit f753af9

Please sign in to comment.