mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-06-14 14:21:34 +03:00
Add golangci-lint CI (#516)
This commit is contained in:
parent
769883f020
commit
b3c22aa81f
14 changed files with 75 additions and 37 deletions
26
.golangci.yml
Normal file
26
.golangci.yml
Normal file
|
@ -0,0 +1,26 @@
|
|||
run:
|
||||
timeout: 5m
|
||||
skip-dirs:
|
||||
- .github
|
||||
- hack
|
||||
- vendor
|
||||
linters:
|
||||
disable-all: true
|
||||
enable:
|
||||
- gofmt
|
||||
- revive
|
||||
- goimports
|
||||
- govet
|
||||
- unused
|
||||
- whitespace
|
||||
- misspell
|
||||
fast: false
|
||||
linters-settings:
|
||||
gofmt:
|
||||
simplify: false
|
||||
revive:
|
||||
rules:
|
||||
- name: exported
|
||||
disabled: true
|
||||
issues:
|
||||
exclude-use-default: false
|
Loading…
Add table
Add a link
Reference in a new issue