Plugin: import-nextRules
no-amd
ESLint rule documentation for no-amd
š” Live from GitHub ā This documentation is fetched directly from no-amd.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.
Prevents AMD require/define calls
Rule Details
This rule aims to prevent issues related to amd.
Options
[
{
"type": "object",
"properties": {
"allow": {
"type": "array",
"items": {
"type": "string"
},
"description": "AMD patterns to allow."
},
"suggestES6": {
"type": "boolean",
"default": true,
"description": "Suggest ES6 imports instead."
}
},
"additionalProperties": false
}
]Implementation
OWASP Foundation
- Category: A00:2021 - General Security
Edit this page on GitHub ā