-
Notifications
You must be signed in to change notification settings - Fork 57
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
Have a simple way to run all
checks (even optional ones)
#321
Comments
I'm not against the idea, but… not all rules can be applied to all files. That's why we have rulesets. Maybe what we need is better ruleset documentation. |
Maybe we can create new rulesets, like |
Sure, but still there are some rules that aren't applied by default: that's what I was aiming at. It can even be something like [#{ dirs => ["apps/*/src/**", "src/**"],
filter => "*.erl",
ruleset => erl_files,
apply => all | minimal | ... },
#{ dirs => ["."],
filter => "rebar.config",
ruleset => rebar_config,
apply => all | minimal | ... },
#{ dirs => ["."],
filter => "elvis.config",
ruleset => elvis_config,
apply => all | minimal | ... }] |
I would still prefer multiple rulesets (and good docs about them) instead of an |
Ok, sure, that makes sense. So the goal would be to have (for starters) I don't wanna think about |
That is correct. |
Maybe we can call it |
I'm looking at the differences between |
Is your feature request related to a problem? Please describe
I'm always frustrated when I have to study a static analysis tool to understand all its possibilities (and I don't think we're listing what rules we run by default 😢).
Describe the solution you'd like
Something like an atom
all
inelvis.config
to indicate "run all rules". This would then be overwritten by the specific rules that are configured in that same file.Describe alternatives you've considered
Reading through
elvis_core
and figuring out (as releases come out) which rules are "by default" and which ones aren't.Additional Context
N/A.
The text was updated successfully, but these errors were encountered: