mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
Merge branch 'disable-gosec-error-checking' into 'master'
Disble gosec from checking errors See merge request gitlab-org/gitlab-build-images!264
This commit is contained in:
commit
9081c90d9d
1 changed files with 5 additions and 0 deletions
|
|
@ -80,6 +80,11 @@ linters-settings:
|
||||||
# see https://github.com/kisielk/errcheck#excluding-functions for details
|
# see https://github.com/kisielk/errcheck#excluding-functions for details
|
||||||
# exclude: /path/to/file.txt
|
# exclude: /path/to/file.txt
|
||||||
|
|
||||||
|
# Disable error checking, as errorcheck detects more errors and is more configurable.
|
||||||
|
gosec:
|
||||||
|
exclude:
|
||||||
|
- "G104"
|
||||||
|
|
||||||
funlen:
|
funlen:
|
||||||
lines: 60
|
lines: 60
|
||||||
statements: 40
|
statements: 40
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue