singh1203 commented on PR #263: URL: https://github.com/apache/arrow-go/pull/263#issuecomment-2639012995
> Can we use https://github.com/golangci/golangci-lint ? It seems that it includes `gofmt` support: https://golangci-lint.run/usage/configuration/ > > We don't need to commit changes by pre-commit automatically. Developers should do it after they checked. Yes, we have integrated https://github.com/golangci/golangci-lint in our `pre-commit-config.yaml` and have explicitly configured the [gofmt linter](https://github.com/apache/arrow-go/blob/main/.golangci.yaml#L25). However, linting does not appear to be taking effect. Running `gofmt` manually produces the expected formatting results. Additionally, if `gofumpt` is used as the linter, the output differs from `gofmt`, indicating that it enforces formatting rules that deviate from the standard `gofmt` behavior. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org