Skip to content

📎 Implement noUnresolvedImports rule #5478

@arendjr

Description

@arendjr

Description

Based on the following eslint-plugin-import rule: https://github.com/import-js/eslint-plugin-import/blob/HEAD/docs/rules/named.md

I think it makes sense to enable such a rule by default, but only let it run on JavaScript files. TypeScript files can be excluded, because they’ll be validated by the TypeScript compiler, and users would just see double diagnostics in their IDE (one from tsc, one from us). If necessary, we can always add an option later.

Inspiration can be taken from the noPrivateImports rule to see how to validate symbol lookups.

Relevant discussion: #5472

Metadata

Metadata

Assignees

Labels

A-LinterArea: linterL-JavaScriptLanguage: JavaScript and super languagesS-Help-wantedStatus: you're familiar with the code base and want to help the project

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions