Skip to content
This repository was archived by the owner on Jul 12, 2022. It is now read-only.

Enable / Disable rules at the command line #132

Merged
merged 7 commits into from
Jun 18, 2015
Merged

Conversation

jaredpar
Copy link
Member

This change adds the ability to enable / disable rules at the command line using the /rule+: and /rule-: switch.

closes #124

jaredpar added 7 commits June 14, 2015 14:30
This change adds the /list option which prints out all of the rule names
and their description.
This change allows for rules to be enabled / disabled at the command
line.  It essentially fixes dotnet#124.  I still need to more before putting
into master:

- More local test runs
- Add some unit tests for command line parsing as it's getting a bit
complex.
- Remove some redundant command line options.

But that should happen later today.
The switches for enabling / disabling common rule implementations is now
changed over to use the rule disabling mechanism.
jaredpar added a commit that referenced this pull request Jun 18, 2015
Enable / Disable rules at the command line
@jaredpar jaredpar merged commit 1378bd1 into dotnet:master Jun 18, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

extensibility plans (being able to ignore rules)
2 participants