ESLint InterlaceESLint Interlace
Plugin: import-nextRules

no-import-module-exports

ESLint rule documentation for no-import-module-exports

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

Forbid import statements with CommonJS module.exports

Rule Details

This rule aims to prevent issues related to import-module-exports.

Options

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

Implementation

OWASP Foundation

  • Category: A00:2021 - General Security

Edit this page on GitHub →

On this page

No Headings