-
Notifications
You must be signed in to change notification settings - Fork 17.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x/tools/cmd/goimports: confusing error message when file contains CRLF #70297
Comments
Change https://go.dev/cl/627215 mentions this issue: |
There have been a number of discussions about CRLF. I couldn't find exactly what the conclusion was. The CL above replaces \n to \r\n as long as there exists a single \r\n, which I don't think is the right behavior. cc @golang/tools-team |
I don't have a complaint about always defaulting to |
Change https://go.dev/cl/627415 mentions this issue: |
Go version
go version go1.23.3 windows/amd64
Output of
go env
in your module/workspace:What did you do?
Run
golangci-lint
which invokesgoimports
on Windows machine.https://github.com/urfave/sflags/actions/runs/11786526137/job/32829983012
Other reports are visible from golangci/golangci-lint#580
What did you see happen?
What did you expect to see?
The text was updated successfully, but these errors were encountered: