Skip to content

Commit

Permalink
[chore] add decorder linter (#26514)
Browse files Browse the repository at this point in the history
See #25060 for original request.

This adds the decorder linter with default configuration, just ensuring
init blocks are at the top of the file for now.
  • Loading branch information
atoulme authored Sep 7, 2023
1 parent c1d70f2 commit fbd7d61
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 @@ -129,6 +129,7 @@ linters-settings:

linters:
enable:
- decorder
- depguard
- errcheck
- errorlint
Expand Down

0 comments on commit fbd7d61

Please sign in to comment.