Interlace ESLint
ESLint Interlace
Import NextRules

no-namespace

Forbid namespace (a.k.a. "wildcard" *) imports

šŸ’¼ This rule is enabled in the following configs: recommended, typescript. šŸ’” This rule is automatically fixable by the --fix CLI option.

Forbid namespace (a.k.a. "wildcard" *) imports

Rule Details

This rule aims to prevent issues related to namespace.

Options

[
  {
    "type": "object",
    "properties": {
      "ignore": {
        "type": "array",
        "items": {
          "type": "string"
        }
      }
    },
    "additionalProperties": false
  }
]

Implementation

OWASP Foundation

  • Category: A00:2021 - General Security

On this page