no-unnecessary-qualifier
Configuration
rslint.config.ts
Rule Details
Disallow unnecessary namespace qualifiers. Accessing an enum member or a namespace export by its qualified name when the right-hand identifier is already directly in scope is redundant. The rule flags those qualifiers and offers an autofix that removes them.
Examples of incorrect code for this rule:
Examples of correct code for this rule: