presets
This commit is contained in:
@@ -51,25 +51,18 @@ linters:
|
|||||||
# Using a deprecated function, variable, constant or field.
|
# Using a deprecated function, variable, constant or field.
|
||||||
# https://staticcheck.dev/docs/checks/#SA1019
|
# https://staticcheck.dev/docs/checks/#SA1019
|
||||||
- -SA1019
|
- -SA1019
|
||||||
# Incorrect or missing package comment.
|
|
||||||
# https://staticcheck.dev/docs/checks/#ST1000
|
|
||||||
- -ST1000
|
|
||||||
# Poorly chosen identifier.
|
# Poorly chosen identifier.
|
||||||
# https://staticcheck.dev/docs/checks/#ST1003
|
# https://staticcheck.dev/docs/checks/#ST1003
|
||||||
- -ST1003
|
- -ST1003
|
||||||
# The documentation of an exported function should start with the function's name.
|
|
||||||
# https://staticcheck.dev/docs/checks/#ST1020
|
|
||||||
- -ST1020
|
|
||||||
# The documentation of an exported type should start with type's name.
|
|
||||||
# https://staticcheck.dev/docs/checks/#ST1021
|
|
||||||
- -ST1021
|
|
||||||
# The documentation of an exported variable or constant should start with variable's name.
|
|
||||||
# https://staticcheck.dev/docs/checks/#ST1022
|
|
||||||
- -ST1022
|
|
||||||
usestdlibvars:
|
usestdlibvars:
|
||||||
http-method: false
|
http-method: false
|
||||||
http-status-code: false
|
http-status-code: false
|
||||||
exclusions:
|
exclusions:
|
||||||
|
presets:
|
||||||
|
- comments
|
||||||
|
- common-false-positives
|
||||||
|
- legacy
|
||||||
|
- std-error-handling
|
||||||
rules:
|
rules:
|
||||||
- path: _test\.go
|
- path: _test\.go
|
||||||
linters:
|
linters:
|
||||||
|
|||||||
Reference in New Issue
Block a user