golang-migrate / migrate

Database migrations. CLI and Golang library.
Other
15.24k stars 1.4k forks source link

Enable multi-linter #125

Open dhui opened 5 years ago

dhui commented 5 years ago

Is your feature request related to a problem? Please describe. Should enforce a consistent coding style and catch silly errors.

Describe the solution you'd like

Currently, the fastest linter that does all of the above is golangci-lint. As of v1.11, it supports packages/modules.

Describe alternatives you've considered gometalinter - also runs multiple linters in parallel and meets all of the requirements above, but is slower since it doesn't re-use parsed ASTs. See: https://github.com/golangci/golangci-lint#why-golangci-lint-is-faster

Additional context N/A

dhui commented 5 years ago

golangci-lint now runs in TravisCI thanks to @kmuratov !

We still need to enable the following linters: