Thanks to visit codestin.com
Credit goes to github.com

Skip to content

GCI linter miss in the website #5773

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

Closed
6 of 7 tasks
daixiang0 opened this issue Apr 29, 2025 · 2 comments
Closed
6 of 7 tasks

GCI linter miss in the website #5773

daixiang0 opened this issue Apr 29, 2025 · 2 comments
Labels
area: docs area: formatters/fmt question Further information is requested

Comments

@daixiang0
Copy link
Contributor

Welcome

  • Yes, I'm using a binary release within 2 latest releases. Only such installations are supported.
  • Yes, I've searched similar issues on GitHub and didn't find any.
  • Yes, I've read the typecheck section of the FAQ.
  • Yes, I've tried with the standalone linter if available (e.g., gocritic, go vet, etc.).
  • I agree to follow this project's Code of Conduct

How did you install golangci-lint?

Official binary

Description of the problem

https://golangci-lint.run/usage/linters/#gci does not exist.

But when run make website_expand_templates at local, the generated files include gci.

Version of golangci-lint

$ golangci-lint --version
# Paste output here

Configuration

# paste configuration file or CLI flags here

Go environment

$ go version && go env
# paste output here

Verbose output of running

$ golangci-lint cache clean
$ golangci-lint run -v
# paste output here

A minimal reproducible example or link to a public repository

// add your code here

Validation

  • Yes, I've included all information above (version, config, etc.).

Supporter

@daixiang0 daixiang0 added the bug Something isn't working label Apr 29, 2025
@ldez ldez self-assigned this Apr 29, 2025
@ldez ldez added question Further information is requested and removed bug Something isn't working labels Apr 29, 2025
@ldez
Copy link
Member

ldez commented Apr 29, 2025

gci is inside the formatters section: https://golangci-lint.run/usage/formatters/

@ldez ldez closed this as completed Apr 29, 2025
@ldez ldez removed their assignment Apr 29, 2025
@daixiang0
Copy link
Contributor Author

Thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: docs area: formatters/fmt question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants