chore(lint): add setting file (#144)

This commit is contained in:
afdesk 2022-04-06 14:25:07 +06:00 committed by GitHub
parent de5955b011
commit dd5e2492f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 1 deletions

View File

@ -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
View File

@ -0,0 +1,14 @@
run:
go: 1.18
timeout: 5m
linters:
enable:
- gofmt
disable:
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- structcheck
- unused