Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 551 Bytes

no-import-package.md

File metadata and controls

33 lines (22 loc) · 551 Bytes

"no-import-package" Rule

Disallows import calls.

Notes

  • This rule does not dependent on abstract tree build;

Configuration

No configuration is available for this rule. Check the Generic Configurations for Rules.

Examples

"no-import-package": {}

For the above configuration, the following scenarios may happen:

<isscript>
    importScript("..."); // Invalid;
</isscript>
<isscript>
    importPackage("..."); // Invalid;
</isscript>