Skip to content

import/no-amd Restriction

What it does

Forbid AMD require and define calls.

Why is this bad?

Examples

Examples of incorrect code for this rule:

javascript
require([a, b], function () {});

Examples of correct code for this rule:

javascript
require("../name");
require(`../name`);

References

Released under the MIT License.