Import NextRules
consistent-type-specifier-style
Enforce or ban the use of inline type-only markers for named imports
š¼ This rule is enabled in the following configs: recommended, typescript.
š” This rule is automatically fixable by the --fix CLI option.
Enforce or ban the use of inline type-only markers for named imports
Rule Details
This rule aims to prevent issues related to consistent-type-specifier-style.
Options
[
{
"type": "string",
"enum": [
"prefer-inline",
"prefer-top-level"
],
"default": "prefer-inline"
}
]Implementation
OWASP Foundation
- Category: A00:2021 - General Security