Skip to content

Commit

Permalink
chore: relax linter settings (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
plastikfan committed Apr 29, 2024
1 parent 443a365 commit 259d713
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ linters-settings:
goconst:
min-len: 2
min-occurrences: 3
# since upgrading to v1.22.1 of go:
# since upgrading to v1.22.0 of go:
# ERRO [linters_context] gocritic: load embedded ruleguard
# rules: rules/rules.go:13: can't load fmt: setting an explicit GOROOT can fix this problem.
#
Expand Down Expand Up @@ -64,6 +64,13 @@ linters:
- whitespace
- wsl

issues:
max-issues-per-linter: 0
max-same-issues: 0
fix: true
exclude:
- "cuddle"

run:
skip-dirs:
- /generators/gola/templates
Expand Down
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"dotenv",
"dupl",
"errcheck",
"ERRO",
"exportloopref",
"extendio",
"faydeaudeau",
Expand All @@ -37,6 +38,7 @@
"gomega",
"gomnd",
"gomock",
"GOROOT",
"gosec",
"gosimple",
"goveralls",
Expand Down Expand Up @@ -65,6 +67,7 @@
"rebinder",
"refl",
"repotoken",
"ruleguard",
"samber",
"Selectf",
"snivilised",
Expand Down

0 comments on commit 259d713

Please sign in to comment.