Skip to content

Commit

Permalink
docs: set the rule type for unresolved-import (#804)
Browse files Browse the repository at this point in the history
This was missing and should be set for aggregate rules.

Signed-off-by: Charlie Egan <charlie@styra.com>
  • Loading branch information
charlieegan3 authored Jun 6, 2024
1 parent 3bcdc33 commit 69f4dcb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/rules/imports/unresolved-import.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

**Category**: Imports

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

**Avoid**

Imports that can't be resolved.
Expand Down Expand Up @@ -38,7 +40,7 @@ import data.users
This linter rule provides the following configuration options:

```yaml
rules:
rules:
imports:
unresolved-import:
# one of "error", "warning", "ignore"
Expand Down

0 comments on commit 69f4dcb

Please sign in to comment.