Skip to content

Commit bcf5f78

Browse files
authored
Merge pull request #28 from tri-adam/updates
Update Go and Linter
2 parents b5fbe34 + 66763b4 commit bcf5f78

File tree

2 files changed

+35
-10
lines changed

2 files changed

+35
-10
lines changed

.circleci/config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ orbs:
66
defaults: &defaults
77
working_directory: /src
88
docker:
9-
- image: golang:1.13
9+
- image: golang:1.14
1010

1111
jobs:
1212
lint_markdown:
@@ -36,7 +36,7 @@ jobs:
3636
- checkout
3737
- run:
3838
name: Install golangci-lint
39-
command: curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.18.0
39+
command: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.23.7
4040
- run:
4141
name: Check for Lint
4242
command: golangci-lint run

.golangci.yml

+33-8
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,34 @@
11
linters:
2-
enable-all: true
3-
disable:
4-
- funlen
5-
- gochecknoglobals
6-
- gocritic
7-
- gosec
8-
- lll
9-
- scopelint
2+
disable-all: true
3+
enable:
4+
- bodyclose
5+
- deadcode
6+
- depguard
7+
- dogsled
8+
- dupl
9+
- errcheck
10+
- gochecknoinits
11+
- goconst
12+
- gocyclo
13+
- godox
14+
- gofmt
15+
- goimports
16+
- golint
17+
- goprintffuncname
18+
- gosimple
19+
- govet
20+
- ineffassign
21+
- interfacer
22+
- maligned
23+
- misspell
24+
- nakedret
25+
- prealloc
26+
- rowserrcheck
27+
- staticcheck
28+
- structcheck
29+
- stylecheck
30+
- typecheck
31+
- unconvert
32+
- unparam
33+
- unused
34+
- varcheck

0 commit comments

Comments
 (0)