Skip to content

Commit

Permalink
feat: add gofmt to golang-ci linters to validate format
Browse files Browse the repository at this point in the history
Signed-off-by: Sophia Wang <[email protected]>
  • Loading branch information
huiwangredhat committed Dec 3, 2024
1 parent 03dfdab commit bda703b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ linters:
- unused # Finds unused variables, functions, etc.
- gosec # Security checks for Go code
- goimports # Checks import statements are formatted
- gofmt # Checks whether code was gofmt-ed

0 comments on commit bda703b

Please sign in to comment.