chore(lint): add setting file (#144)
This commit is contained in:
parent
de5955b011
commit
dd5e2492f8
1
.github/workflows/go.yml
vendored
1
.github/workflows/go.yml
vendored
@ -19,6 +19,7 @@ jobs:
|
||||
uses: golangci/golangci-lint-action@v3.1.0
|
||||
with:
|
||||
version: v1.45
|
||||
args : --verbose
|
||||
|
||||
- name: Test
|
||||
run: |
|
||||
|
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