Skip to content

Commit

Permalink
ci: update linter to use staticcheck
Browse files Browse the repository at this point in the history
`staticcheck` is better compared to other linters. It comes with sane
defaults and has a better release story (as an example it doesn't break
suddenly due a new version).
  • Loading branch information
fatih committed May 19, 2021
1 parent 7c98011 commit b59bbdc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ test:
build:
go build ./...

.PHONY: lint
lint:
@go install honnef.co/go/tools/cmd/staticcheck@latest
@staticcheck ./...

.PHONY: licensed
licensed:
licensed cache
licensed status

.PHONY: lint
lint:
@script/lint
9 changes: 0 additions & 9 deletions script/lint

This file was deleted.

0 comments on commit b59bbdc

Please sign in to comment.