Skip to content

📎 Support for cross language lint rules (noUnusedVariables, noUnusedImports, etc) #8590

@dyc3

Description

@dyc3

Description

Right now, users are unable to use these very valuable rules because they currently don't function across language boundaries:

  • noUnusedVariables
  • noUnusedImports
  • useImportType
  • useConst

All of these rules rely on the semantic model to feed them the correct info. However, its currently confined to just javascript, and is unable to inspect the contents of the parent HTML-ish language to continue building the semantic model.

Metadata

Metadata

Assignees

Labels

A-LinterArea: linterL-HTMLLanguage: HTML and super languagesL-JavaScriptLanguage: JavaScript and super languagesS-Help-wantedStatus: you're familiar with the code base and want to help the project
No fields configured for Feature.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions