Interlace ESLint
ESLint Interlace
Import NextRules

no-unassigned-import

Prevents unassigned imports

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

Prevents unassigned imports

Rule Details

This rule aims to prevent issues related to unassigned-import.

Options

[
  {
    "type": "object",
    "properties": {
      "allowModules": {
        "type": "array",
        "items": {
          "type": "string"
        },
        "description": "Allow specific modules to be imported without assignment."
      }
    },
    "additionalProperties": false
  }
]

Implementation

OWASP Foundation

  • Category: A00:2021 - General Security

On this page