Skip to content

Commit

Permalink
chore(lint): Enable localmodule for import linter (#1989)
Browse files Browse the repository at this point in the history
We use three sections through-out the codebase -- standard, default, and
localmodule.  This change updates the linter to enforce this pattern as
files are added or modified.
  • Loading branch information
nddeluca authored Aug 2, 2024
1 parent e198eeb commit 272f82e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ linters-settings:
sections: # defines the order of import sections
- standard
- default
- localmodule
goconst:
min-len: 3 # min length for string constants to be checked
min-occurrences: 3 # min occurrences of the same constant before it's flagged
Expand Down

0 comments on commit 272f82e

Please sign in to comment.