Skip to content

Commit

Permalink
enable gofumpt linter
Browse files Browse the repository at this point in the history
  • Loading branch information
ltucker committed Dec 16, 2024
1 parent 8fc9f08 commit b101547
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ linters:
- govet
- gosimple
- bodyclose
- gofumpt

issues:
exclude-use-default: false
Expand All @@ -26,3 +27,7 @@ issues:

severity:
default-severity: error

linters-settings:
go-fumpt:
extra-rules: true
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ deps:
lint:
@golangci-lint run ./... --config .github/golangci.yaml

.PHONY: fix-lint
fix-lint:
@golangci-lint run ./... --config .github/golangci.yaml --fix

.PHONY: test
test:
@go test -race ./...
Expand Down

0 comments on commit b101547

Please sign in to comment.