import/namespace
Configuration
rslint.config.ts
Rule Details
Enforces that properties read from namespace imports exist in the imported module.
Examples of incorrect code for this rule:
Examples of correct code for this rule:
Examples of correct code for this rule with { "allowComputed": true }:
Options
allowComputed
Defaults to false. When set to true, computed namespace member access is
allowed, but the computed property name is not validated.
Modules that cannot be resolved, are ignored, or are not ES modules are not reported by this rule.