Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
perxis-go
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Package registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
perxis
perxis-go
Commits
433797d0
Commit
433797d0
authored
8 months ago
by
Semyon Krestyaninov
Committed by
Pavel Antonov
8 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Обновлена конфигурация golangci-lint
parent
23f78314
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.golangci.yml
+12
-2
12 additions, 2 deletions
.golangci.yml
with
12 additions
and
2 deletions
.golangci.yml
+
12
−
2
View file @
433797d0
...
@@ -284,7 +284,7 @@ linters:
...
@@ -284,7 +284,7 @@ linters:
-
tenv
# detects using os.Setenv instead of t.Setenv since Go1.17
-
tenv
# detects using os.Setenv instead of t.Setenv since Go1.17
-
testableexamples
# checks if examples are testable (have an expected output)
-
testableexamples
# checks if examples are testable (have an expected output)
-
testifylint
# checks usage of github.com/stretchr/testify
-
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
-
unconvert
# removes unnecessary type conversions
-
unparam
# reports unused function parameters
-
unparam
# reports unused function parameters
-
usestdlibvars
# detects the possibility to use variables/constants from the Go standard library
-
usestdlibvars
# detects the possibility to use variables/constants from the Go standard library
...
@@ -352,3 +352,13 @@ issues:
...
@@ -352,3 +352,13 @@ issues:
-
gosec
-
gosec
-
noctx
-
noctx
-
wrapcheck
-
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment