Skip to content

Commit

Permalink
Add golint and change linter to lint
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhntd committed Apr 20, 2022
1 parent f401c82 commit da5aa30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,4 @@ linters:
- structcheck
- misspell
- revive
- golint
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ fmt: install-tools
fmt-sh: install-tools
${SHFMT} -w -d -i 5 .

linter: install-tools
lint: install-tools
${LINTER} run ./...

test:
Expand Down

0 comments on commit da5aa30

Please sign in to comment.