Skip to content
This repository has been archived by the owner on Apr 10, 2019. It is now read-only.

which linters are --fast? #330

Closed
jeffwillette opened this issue Aug 2, 2017 · 3 comments
Closed

which linters are --fast? #330

jeffwillette opened this issue Aug 2, 2017 · 3 comments

Comments

@jeffwillette
Copy link
Contributor

I am trying to find out which linters are run when the --fast option is set but I cannot find a list anywhere. I would like to add this information to the docs, but I would like some clarification first.

Thanks

@bradleyfalzon
Copy link
Contributor

This was changed recently in 4d5e541, you can see the list of linters and if they're declared as fast with the IsFast bool: https://github.com/alecthomas/gometalinter/blob/master/linters.go#L236

@jeffwillette
Copy link
Contributor Author

jeffwillette commented Aug 2, 2017

@bradleyfalzon Actually maybe I closed the issue too fast...I can now see which ones are fast, but do you think it would be benefitial add a --fast-list option so users can quickly get a list of which ones are considered fast so they don't have to dig this deep?

@jeffwillette jeffwillette reopened this Aug 2, 2017
@alecthomas
Copy link
Owner

I think with the new configuration structure, we should probably output a more structured format for the linters. This would include whether a linter is tagged as fast or not.

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

No branches or pull requests

3 participants