chore(lint): add setting file (#144)
This commit is contained in:
parent
de5955b011
commit
dd5e2492f8
3
.github/workflows/go.yml
vendored
3
.github/workflows/go.yml
vendored
@ -19,7 +19,8 @@ jobs:
|
||||
uses: golangci/golangci-lint-action@v3.1.0
|
||||
with:
|
||||
version: v1.45
|
||||
|
||||
args : --verbose
|
||||
|
||||
- name: Test
|
||||
run: |
|
||||
go test -v ./...
|
||||
|
14
.golangci.yml
Normal file
14
.golangci.yml
Normal file
@ -0,0 +1,14 @@
|
||||
run:
|
||||
go: 1.18
|
||||
timeout: 5m
|
||||
linters:
|
||||
enable:
|
||||
- gofmt
|
||||
disable:
|
||||
- errcheck
|
||||
- gosimple
|
||||
- govet
|
||||
- ineffassign
|
||||
- staticcheck
|
||||
- structcheck
|
||||
- unused
|
Loading…
Reference in New Issue
Block a user