Skip to content
Snippets Groups Projects
Commit 0dc768e5 authored by Pavel Antonov's avatar Pavel Antonov :asterisk:
Browse files

Merge branch 'feature/PRXS-2953-ConfigureLinter' into 'master'

Обновлена конфигурация golangci-lint

See merge request perxis/perxis-go!442
parents 076fdd0b 433797d0
No related branches found
No related tags found
No related merge requests found
......@@ -284,7 +284,7 @@ linters:
- tenv # detects using os.Setenv instead of t.Setenv since Go1.17
- testableexamples # checks if examples are testable (have an expected output)
- testifylint # checks usage of github.com/stretchr/testify
- testpackage # makes you use a separate _test package
#- testpackage # makes you use a separate _test package
- unconvert # removes unnecessary type conversions
- unparam # reports unused function parameters
- usestdlibvars # detects the possibility to use variables/constants from the Go standard library
......@@ -352,3 +352,13 @@ issues:
- gosec
- noctx
- wrapcheck
- mnd
- path: "_middleware\\.go"
linters:
- nonamedreturns
- path: "test/.*\\.go"
linters:
- mnd
- text: "shadow: declaration of \"(err|ctx)\" shadows declaration at"
linters:
- govet
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment