Ludovic Fernandez fcef82475c
docs: improve linters page (#1995)
* TOC level 3
* drop `.golangci.yaml` from the Configuration page
* generate a dedicated configuration section for each linters.
* fix changelog heading
2021-05-17 23:56:46 +02:00

12 lines
697 B
YAML

linters-settings:
gomodguard:
allowed:
modules: # List of allowed modules
- golang.org/x/mod/modfile
blocked:
modules: # List of blocked modules
- gopkg.in/yaml.v3: # Blocked module
recommendations: # Recommended modules that should be used instead (Optional)
- github.com/kylelemons/go-gypsy
reason: "This is an example of recommendations." # Reason why the recommended module should be used (Optional)