Skip to content

Commit

Permalink
Ensure spew usage will fail the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
K-Phoen committed Jan 22, 2025
1 parent 3699f5b commit aedcf4c
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 24 deletions.
24 changes: 0 additions & 24 deletions .golangci.toml

This file was deleted.

33 changes: 33 additions & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
linters:
disable-all: true
enable: [
"depguard",
"dogsled",
"errcheck",
"exportloopref",
"goconst",
"gocritic",
"gocyclo",
"goimports",
"goprintffuncname",
"gosimple",
"govet",
"ineffassign",
"misspell",
"nakedret",
"rowserrcheck",
"staticcheck",
"stylecheck",
"typecheck",
"unconvert",
"unused",
"whitespace"
]

linters-settings:
depguard:
rules:
main:
deny:
- pkg: "github.com/davecgh/go-spew"
desc: debug statements should be removed

0 comments on commit aedcf4c

Please sign in to comment.