ESLint InterlaceESLint Interlace
Plugin: import-nextRules

no-unresolved

ESLint rule documentation for no-unresolved

šŸ“” Live from GitHub — This documentation is fetched directly from no-unresolved.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.

Ensures imports point to resolvable modules

Rule Details

This rule aims to prevent issues related to unresolved.

Options

[
  {
    "type": "object",
    "properties": {
      "extensions": {
        "type": "array",
        "items": {
          "type": "string"
        },
        "description": "File extensions to consider when resolving imports."
      },
      "ignore": {
        "type": "array",
        "items": {
          "type": "string"
        },
        "description": "Modules/patterns to ignore during resolution."
      },
      "allowUnresolved": {
        "type": "boolean",
        "default": false,
        "description": "Allow unresolved imports in certain contexts."
      }
    },
    "additionalProperties": false
  }
]

Implementation

OWASP Foundation

  • Category: A03:2021 - Injection

Edit this page on GitHub →

On this page

No Headings