mirror of
https://github.com/OJ/gobuster.git
synced 2024-05-12 00:26:04 +02:00
52 lines
822 B
YAML
52 lines
822 B
YAML
linters:
|
|
enable-all: true
|
|
disable:
|
|
- wsl
|
|
- gocyclo
|
|
- gocognit
|
|
- funlen
|
|
- lll
|
|
- dogsled
|
|
- gomnd
|
|
- nestif
|
|
- testpackage
|
|
- godot
|
|
- goerr113
|
|
- gofumpt
|
|
- exhaustivestruct
|
|
- forbidigo
|
|
- nlreturn
|
|
- wrapcheck
|
|
|
|
issues:
|
|
exclude-rules:
|
|
- text: "TLS InsecureSkipVerify may be true"
|
|
linters:
|
|
- gosec
|
|
|
|
- text: ifElseChain
|
|
linters:
|
|
- gocritic
|
|
|
|
- text: exitAfterDefer
|
|
linters:
|
|
- gocritic
|
|
|
|
- path: cli\\cmd\\.+\.go
|
|
linters:
|
|
- gochecknoinits
|
|
- gochecknoglobals
|
|
|
|
- path: cli/cmd/.+\.go
|
|
linters:
|
|
- gochecknoinits
|
|
- gochecknoglobals
|
|
|
|
- path: helper/useragents.go
|
|
linters:
|
|
- gochecknoglobals
|
|
|
|
- path: _test\.go
|
|
linters:
|
|
- scopelint
|