Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '.golangci.yml')
-rw-r--r--.golangci.yml10
1 files changed, 6 insertions, 4 deletions
diff --git a/.golangci.yml b/.golangci.yml
index 7009afd9..dd8bf738 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -81,7 +81,6 @@ linters:
disable-all: true
enable:
- bodyclose
- - deadcode
- dogsled
- errorlint
- gci
@@ -95,17 +94,16 @@ linters:
- misspell
- revive
- staticcheck
- - structcheck
- typecheck
- unconvert
- unparam
- unused
- - varcheck
- whitespace
- - nolintlint
fast: false
issues:
+ exclude:
+ - "unused-parameter:"
# Excluding configuration per-path, per-linter, per-text and per-source
exclude-rules:
- path: _test\.go
@@ -116,6 +114,10 @@ issues:
- path: internal/fixture/fixtures\.go
linters:
- gosec
+ - path: app.go
+ text: "G112"
+ linters:
+ - gosec
# Maximum issues count per one linter. Set to 0 to disable. Default is 50.
max-issues-per-linter: 0