prefer-identifier-import-export-specifiers
UnreleasedConfiguration
rslint.config.ts
Rule Details
Prefer identifier names over quoted strings in import/export specifiers and import attributes when the decoded string is a valid JavaScript identifier name.
Reserved words are valid module names and attribute keys. Strings containing spaces, punctuation, or invalid identifier characters remain quoted. Fixes preserve the spacing needed around neighboring keywords.
Examples of incorrect code:
Examples of correct code:
Options
This rule has no options. It is enabled at error severity in unicornPlugin.configs.recommended.