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

Allow option for -s (simpify) #11

Open
Kubuxu opened this issue Mar 29, 2017 · 1 comment
Open

Allow option for -s (simpify) #11

Kubuxu opened this issue Mar 29, 2017 · 1 comment
Assignees

Comments

@Kubuxu
Copy link

Kubuxu commented Mar 29, 2017

gofmt allows to specify -s option to also flag code that can be simplified. It would be nice to be able to use it via .codeclimate.yml.

@dblandin
Copy link

dblandin commented Apr 4, 2017

@Kubuxu We'd happily review a PR for that!

Looks like the change would be to update the invoked command here based on the config content: https://github.com/codeclimate-community/codeclimate-gofmt/blob/master/codeclimate-gofmt.go#L29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants