Skip to main content

Imports

Rules related to importing of packages and keywords.

IDSummary
avoid-importing-input

Avoid importing input

circular-import

Avoid circular imports

confusing-alias

Confusing alias of existing import

ignored-import

Reference ignores import

implicit-future-keywords

Implicit future keywords

import-after-rule

Import declared after rule

import-shadows-builtin

Import shadows built-in namespace

import-shadows-import

Import shadows import

prefer-package-imports

Prefer importing packages over rules

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

redundant-alias

Redundant alias

redundant-data-import

Redundant import of data

unresolved-import

Unresolved import

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

use-rego-v1

Use import rego.v1

Automatically fixable: Yes