tinkerbell / lint-install

Consistently install reasonable linter rules for open-source projects
Apache License 2.0
6 stars 7 forks source link

Add 'fix' target to automatically fix lint issues #16

Closed tstromberg closed 3 years ago

tstromberg commented 3 years ago

shellcheck and golangci-lint support automatically fixing a limited number of issues.

Since neither incantation is easy to use in all cases, this adds a handy fix target to the Makefile to run the linters in fix mode.