ESLint InterlaceESLint Interlace
Plugin: import-nextRules

consistent-type-specifier-style

ESLint rule documentation for consistent-type-specifier-style

šŸ“” Live from GitHub — This documentation is fetched directly from consistent-type-specifier-style.md and cached for 6 hours.

šŸ’¼ 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

Edit this page on GitHub →

On this page

No Headings