Back to Opa

redundant-data-import

docs/projects/regal/rules/imports/redundant-data-import.md

1.16.1628 B
Original Source

redundant-data-import

Summary: Redundant import of data

Category: Imports

Avoid

rego
package policy

import data

Rationale

Just like input, data is always globally available and does not need to be imported.

Configuration Options

This linter rule provides the following configuration options:

yaml
rules:
  imports:
    redundant-data-import:
      # one of "error", "warning", "ignore"
      level: error