Skip to main content

Imports

Rules related to importing of packages and keywords.

IDSummary
imports/avoid-importing-input

Avoid importing input

imports/circular-import

Avoid circular imports

imports/confusing-alias

Confusing alias of existing import

imports/ignored-import

Reference ignores import

imports/implicit-future-keywords

Implicit future keywords

imports/import-after-rule

Import declared after rule

imports/import-shadows-builtin

Import shadows built-in namespace

imports/import-shadows-import

Import shadows import

imports/pointless-import

Importing own package is pointless

imports/prefer-package-imports

Prefer importing packages over rules

Type: Aggregate - only runs when more than one file is provided for linting

imports/redundant-alias

Redundant alias

imports/redundant-data-import

Redundant import of data

imports/unresolved-import

Unresolved import

Type: Aggregate - only runs when more than one file is provided for linting

imports/unresolved-reference

Unresolved Reference

imports/use-rego-v1

Use import rego.v1

Automatically fixable: Yes