Skip to content

Commit

Permalink
fix(import): set ignorePackages to import/extensions (#936)
Browse files Browse the repository at this point in the history
The `ignorePackages` option is useful for packages whose name includes an extension.
https://github.com/benmosher/eslint-plugin-import/blob/v2.23.2/docs/rules/extensions.md
  • Loading branch information
ybiquitous authored May 19, 2021
1 parent 3c3c857 commit 119bde8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/plugins/import.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = {
"import/exports-last": "off",
"import/extensions": [
"error",
"always",
"ignorePackages",
{
js: "never",
jsx: "never",
Expand Down

0 comments on commit 119bde8

Please sign in to comment.