GoLangCI-lint has a fixer now: golangci-lint run --fix ./...
The ALE fixer will have the same issues we're having with the ALE linter.
This original issue was to add a fixer for golangci-lint and there may have been some confusion as the issue was closed on account of golangci-lint as a linter already existing.
Name:
golangci-lint
URL: https://github.com/golangci/golangci-lintThis was previously reported at https://github.com/dense-analysis/ale/issues/2864:
This original issue was to add a fixer for
golangci-lint
and there may have been some confusion as the issue was closed on account ofgolangci-lint
as a linter already existing.As best I can tell and from what I've tried,
golangci-lint
isn't available as a fixer (e.g. it's not visible in:ALEFixSuggest
nor has a file listed at https://github.com/dense-analysis/ale/tree/master/autoload/ale/fixers or visible elsewhere in the codebase).