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

Rules in config effecting other rule's severity when partially matching #687

Closed
bgriffith opened this issue May 7, 2016 · 0 comments · Fixed by #688
Closed

Rules in config effecting other rule's severity when partially matching #687

bgriffith opened this issue May 7, 2016 · 0 comments · Fixed by #688
Labels

Comments

@bgriffith
Copy link
Member

bgriffith commented May 7, 2016

The use of searchArray in rules.js is causing rules to effect others severity levels. For example this is causing rule foo to effect rule foo-bar as it is partially matched first.

A quick fix for this is to wrap the rule name with a file extension and a leading slash but I'm open to better suggestions!

Another thing to consider is that this will mean it's a lot more strict in that names won't be able to just partially match.

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

Successfully merging a pull request may close this issue.

1 participant