Skip to content

Commit

Permalink
chore: tweak Makefile and .golangci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
telemachus committed Nov 21, 2023
1 parent 20903f1 commit b94b3bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
3 changes: 0 additions & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ linters:
- exhaustive
- goconst
- gocritic
- gofmt
- gofumpt
- goimports
- gosec
- gosimple
- govet
Expand Down
7 changes: 2 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ fmt:
golangci-lint run --disable-all --no-config -Egofmt --fix
golangci-lint run --disable-all --no-config -Egofumpt --fix

revive: fmt
revive -config .revive.toml

lint: revive
lint: fmt
golangci-lint run

build: lint
Expand All @@ -25,4 +22,4 @@ testv:
bench:
go test -bench=. -benchmem -benchtime=5s -count=3 -run=NONE

.PHONY: fmt revive lint build install test testv bench
.PHONY: fmt lint build install test testv bench

0 comments on commit b94b3bd

Please sign in to comment.