github.com/chenfeining/golangci-lint@v1.0.2-0.20230730162517-14c6c67868df/test/testdata/configs/gomodguard.yml (about) 1 linters-settings: 2 gomodguard: 3 allowed: 4 modules: # List of allowed modules 5 - golang.org/x/mod/modfile 6 blocked: 7 modules: # List of blocked modules 8 - gopkg.in/yaml.v3: # Blocked module 9 recommendations: # Recommended modules that should be used instead (Optional) 10 - github.com/kylelemons/go-gypsy 11 reason: "This is an example of recommendations." # Reason why the recommended module should be used (Optional)