From 119bde83fdb4b4c21a07627c305e914e3b6e2d26 Mon Sep 17 00:00:00 2001 From: Masafumi Koba <473530+ybiquitous@users.noreply.github.com> Date: Thu, 20 May 2021 04:42:15 +0900 Subject: [PATCH] fix(import): set `ignorePackages` to `import/extensions` (#936) 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 --- rules/plugins/import.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/plugins/import.js b/rules/plugins/import.js index d2743f2e..d55cf78d 100644 --- a/rules/plugins/import.js +++ b/rules/plugins/import.js @@ -6,7 +6,7 @@ module.exports = { "import/exports-last": "off", "import/extensions": [ "error", - "always", + "ignorePackages", { js: "never", jsx: "never",