2021-05-11 02:21:01 +03:00
|
|
|
run:
|
2021-12-11 02:19:26 +03:00
|
|
|
deadline: 20m
|
2024-10-10 13:52:17 +03:00
|
|
|
go-version: "1.23"
|
2021-05-11 02:21:01 +03:00
|
|
|
|
|
|
|
linters:
|
|
|
|
disable-all: true
|
|
|
|
enable:
|
2021-07-30 01:29:06 +03:00
|
|
|
- errcheck
|
2021-05-11 02:21:01 +03:00
|
|
|
- errorlint
|
|
|
|
- goconst
|
|
|
|
- gocyclo
|
|
|
|
- gofmt
|
|
|
|
- goimports
|
|
|
|
- gosec
|
|
|
|
- gosimple
|
|
|
|
- govet
|
|
|
|
- ineffassign
|
|
|
|
- misspell
|
|
|
|
- nakedret
|
2021-07-30 01:29:06 +03:00
|
|
|
- nilerr
|
2021-05-11 02:21:01 +03:00
|
|
|
- prealloc
|
2021-07-08 22:34:20 +03:00
|
|
|
- revive
|
2021-05-11 02:21:01 +03:00
|
|
|
- staticcheck
|
2021-07-30 01:29:06 +03:00
|
|
|
- typecheck
|
2021-05-11 02:21:01 +03:00
|
|
|
- unconvert
|
|
|
|
- unused
|
2021-07-30 01:29:06 +03:00
|
|
|
- whitespace
|
2021-05-11 02:21:01 +03:00
|
|
|
# Run with --fast=false for more extensive checks
|
|
|
|
fast: true
|
2023-03-29 04:33:46 +03:00
|
|
|
|
2024-10-10 13:52:17 +03:00
|
|
|
issues:
|
|
|
|
# default: 50
|
|
|
|
max-issues-per-linter: 0
|
|
|
|
exclude-rules:
|
|
|
|
- text: "unused-parameter: parameter '.*' seems to be unused, consider removing or renaming it as _"
|
|
|
|
linters:
|
|
|
|
- revive
|
|
|
|
|
2023-03-29 04:33:46 +03:00
|
|
|
linters-settings:
|
|
|
|
goimports:
|
|
|
|
local-prefixes: github.com/Azure/azure-workload-identity
|