Add golangci-lint v2 hooks with formatting support#42
Add golangci-lint v2 hooks with formatting support#42JackismyShephard wants to merge 1 commit intoTekWizely:masterfrom
Conversation
|
Greetings @JackismyShephard and thank you for taking the time to create a PR for my project ... Upon reviewing the changes and looking into it, I have some issues with: go install github.com/golangci/golangci-lint/cmd/golangci-lint-v2@latestThis command does not actually appear to work? And indeed there is no Additionally, installing it via any of the local installation options does not install the binary as Q: (assuming v2 is installed with its standard name I'm going to assume yes for the moment as I haven't seen anything to suggest otherwise yet. If true, then we don't necessarily need two sets of hooks for the Its nice to see that they've added support for formatters. However I'm wondering if we might instead introduce the formatting option hooks as Please take a minute to read and reply and we can continue the discussion. Thanks again! -TW |
TekWizely
left a comment
There was a problem hiding this comment.
Hi, see previous comment - Looking forward to future discussion on this PR, thanks!
Sorry for not getting back to you. I am a bit busy this week. Will see if I have proper time to look at this this weekend 😊 |
|
Hy @JackismyShephard just a friendly ping to see if you've made any progress on this? No worries if not - Hope all is well. -TW |
Adds 7 new hooks for golangci-lint v2 architecture with support for version: "2" config files. Includes both linting hooks (golangci-lint-v2*) and formatting hooks (golangci-lint-v2-fmt*) that use the built-in fmt command.
Issue: #41