Skip to content
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

feat: add mgechev/revive #20179

Merged
merged 1 commit into from
Feb 21, 2024
Merged

Conversation

ponkio-o
Copy link
Sponsor Contributor

mgechev/revive: ~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for golint

$ aqua g -i mgechev/revive

How to confirm if this package works well

Reviewers aren't necessarily familiar with this package, so please describe how to confirm if this package works well.
Please confirm if this package works well yourself as much as possible.

Command and output

root@b4c7bae260fa:/workspace# revive --help

 _ __ _____   _(_)__  _____
| '__/ _ \ \ / / \ \ / / _ \
| | |  __/\ V /| |\ V /  __/
|_|  \___| \_/ |_| \_/ \___|

Example:
  revive -config c.toml -formatter friendly -exclude a.go -exclude b.go ./...

Usage of revive:
  -config string
        path to the configuration TOML file, defaults to $XDG_CONFIG_HOME/revive.toml or $HOME/revive.toml, if present (i.e. -config myconf.toml)
  -exclude value
        list of globs which specify files to be excluded (i.e. -exclude foo/...)
  -formatter string
        formatter to be used for the output (i.e. -formatter stylish)
  -max_open_files int
        maximum number of open files at the same time
  -set_exit_status
        set exit status to 1 if any issues are found, overwrites errorCode and warningCode in config
  -version
        get revive version

Reference

[mgechev/revive](https://github.com/mgechev/revive): ~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for golint
@suzuki-shunsuke
Copy link
Member

Thank you!

@suzuki-shunsuke suzuki-shunsuke added the enhancement New feature or request label Feb 21, 2024
@suzuki-shunsuke suzuki-shunsuke added this to the v4.139.0 milestone Feb 21, 2024
@suzuki-shunsuke suzuki-shunsuke merged commit fa4b860 into aquaproj:main Feb 21, 2024
16 checks passed
@suzuki-shunsuke
Copy link
Member

@ponkio-o ponkio-o deleted the feat/mgechev/revive branch February 21, 2024 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants