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

Warn when conflicting rules enabled #38

Closed
mivok opened this issue Jul 7, 2014 · 2 comments
Closed

Warn when conflicting rules enabled #38

mivok opened this issue Jul 7, 2014 · 2 comments
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@mivok
Copy link
Collaborator

mivok commented Jul 7, 2014

Add a 'conflicts_with' attribute to rules, and show a warning if conflicting rules are enabled (Make it a fatal error, but allow it to be overridden with a command line option).

There should probably also be some dedup logic in there, so if MD123 conflicts with MD124, and MD124 conflicts with MD123 (because I was diligent and put the conflicts_with entry on both rules), then the error message doesn't show up twice.

@cirosantilli
Copy link
Contributor

Another possible solution: #47

@mivok
Copy link
Collaborator Author

mivok commented Aug 24, 2014

Parameterized rules from #47 are now implemented, and so this will no longer be necessary.

@mivok mivok closed this as completed Aug 24, 2014
@mivok mivok added the wontfix label Aug 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants