aboutsummaryrefslogblamecommitdiffstats
path: root/.golangci.toml
blob: 543f142abc6f7d02cd300d4f43b66c33af4a0cdf (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
     









                                                                      
                                       





                                                                           




                                               
[run]
# don't lint tests
tests = false

# enable additional linters
[linters]
enable = [
	"nolintlint", # nolint comments require justification
	"errorlint", # check to ensure no problems with wrapped errors
	"gocritic", # check for bugs, performance, and style issues
	"gofmt", # check that gofmt is satisfied
	"aerc", # aerc specific linters
]

[linters-settings.nolintlint]
allow-unused = false # don't allow nolint if not required
require-explanation = true # require an explanation when disabling a linter
requre-specific = true # linter exceptions must specify the linter

[linters-settings.custom.aerc]
path = "./linters.so"
description = "Aerc specific linters"
original-url = "git.sr.ht/~rjarry/aerc/contrib"