Skip to content

Commit eb8c348

Browse files
committed
Stash changes
1 parent 65d099b commit eb8c348

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

.golangci.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,10 @@ linters:
1212
- deadcode
1313
- errcheck
1414
- gofmt
15-
- gosimple
1615
- ineffassign
1716
- misspell
18-
- staticcheck
1917
- structcheck
2018
- unconvert
21-
- unused
2219
- varcheck
2320
- vet
2421

GNUmakefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ fmtcheck:
2626

2727
lint:
2828
@echo "==> Checking source code against linters..."
29-
@golangci-lint run ./$(PKG_NAME)
29+
@golangci-lint run -v ./$(PKG_NAME)
3030

3131
tools:
3232
@echo "==> installing required tooling..."
33-
GO111MODULE=off go get -u github.com/client9/misspell/cmd/misspell
34-
GO111MODULE=off go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
33+
GO111MODULE=on go install github.com/client9/misspell/cmd/misspell
34+
GO111MODULE=on go install github.com/golangci/golangci-lint/cmd/golangci-lint
3535

3636

3737
test-compile:

tools.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// +build tools
2+
3+
package main
4+
5+
import (
6+
_ "github.com/client9/misspell/cmd/misspell"
7+
_ "github.com/golangci/golangci-lint/cmd/golangci-lint"
8+
)

0 commit comments

Comments
 (0)