We are currently using the GolangCI-Lint tool (https://golangci-lint.run/) in our CI pipeline. It would be beneficial to run this linter as a pre-commit hook as well to catch issues earlier in the development process.
Solution
Create pre-commit hook that runs golangci-lint run
Problem
We are currently using the GolangCI-Lint tool (https://golangci-lint.run/) in our CI pipeline. It would be beneficial to run this linter as a pre-commit hook as well to catch issues earlier in the development process.
Solution
Create pre-commit hook that runs
golangci-lint run
Alternatives
No response