import-js/eslint-plugin-import

[import/extensions] ".." and "." import paths are incorrectly flagged as requiring an extension, when either is al local package

Open

#2,844 建立於 2023年7月31日

在 GitHub 查看
 (2 留言) (2 反應) (0 負責人)JavaScript (4,946 star) (1,540 fork)batch import
bughelp wanted

描述

In #2778, we determined that this plugin incorrectly flags ".." and "." import paths, when those imports refer to a local package (with a package.json).

貢獻者指南

[import/extensions] ".." and "." import paths are incorrectly flagged as requiring an extension, when either is al local package · import-js/eslint-plugin-import#2844 | Good First Issue