1
0
mirror of https://github.com/go-task/task.git synced 2025-03-19 21:17:46 +02:00
task/.golangci.yml

36 lines
710 B
YAML
Raw Normal View History

2022-12-17 11:02:17 -03:00
# NOTE(@andreynering): The linters listed here are additions on top of
# those enabled by default:
#
# https://golangci-lint.run/usage/linters/#enabled-by-default
linters:
enable:
- depguard
2022-12-17 11:02:17 -03:00
- goimports
- gofmt
2023-03-31 19:13:29 +00:00
- gofumpt
2024-11-15 21:48:59 +01:00
- misspell
2024-12-12 01:42:04 +01:00
- noctx
- paralleltest
- tenv
- thelper
- tparallel
linters-settings:
depguard:
rules:
main:
files:
- "$all"
- "!$test"
- "!**/errors/*.go"
deny:
- pkg: "errors"
desc: "Use github.com/go-task/task/v3/errors instead"
goimports:
local-prefixes: github.com/go-task
gofmt:
rewrite-rules:
- pattern: 'interface{}'
replacement: 'any'