Skip to content

Commit

Permalink
Update golang ci config
Browse files Browse the repository at this point in the history
  • Loading branch information
chamburr committed Nov 17, 2022
1 parent 436cd13 commit 6547fc5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .drone/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ name: test

steps:
- name: test go
image: golangci/golangci-lint
image: golang
commands:
- cd HTMLConverter
- golangci-lint run
- go test

trigger:
event:
Expand Down
13 changes: 13 additions & 0 deletions HTMLConverter/.golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,25 @@ output:
linters:
enable-all: true
disable:
- dupword
- exhaustruct
- exhaustivestruct
- funlen
- gci
- gochecknoglobals
- gocognit
- goimports
- gofmt
- gofumpt
- gomnd
- maligned
- nlreturn
- nolintlint
- nosnakecase
- paralleltest
- revive
- testpackage
- varnamelen
- wsl

linters-settings:
Expand Down

0 comments on commit 6547fc5

Please sign in to comment.