gruntwork-io / pre-commit

A collection of pre-commit hooks used by Gruntwork tools
https://gruntwork.io/
Apache License 2.0
484 stars 155 forks source link

Add a golangci-lint hook #93

Closed robmorgan closed 1 year ago

robmorgan commented 1 year ago

Description

Adds a new golangci-lint hook in the Gruntwork script style and marks golint as deprectated. Why? golint is frozen and deprecated. golangci-lint is quite popular and is capable of running multiple linting tools.

Minor

This PR also fixes the failing ci so the tests pass.

Documentation

Updated README.md to describe the new hook.

TODOs

Please ensure all of these TODOs are completed before asking for a review.

Related Issues

n/a

robmorgan commented 1 year ago

@ellisonc thanks!