]> khamidou — GitHub mirrors - arcanist.git/commit
Fix custom severity rules not being applied
authorJoshua Spence <josh@joshuaspence.com>
Thu, 11 Sep 2014 13:39:12 +0000 (23:39 +1000)
committerJoshua Spence <josh@joshuaspence.com>
Thu, 11 Sep 2014 13:39:12 +0000 (23:39 +1000)
commit75ad848b9d0880a8d71f1e389e03f1a2ccdb4169
tree9f0e7e3b31a7251055bc872b45f40048de4e77b9
parent679c13b1b01f71e70b9efaaa07bab4b8e79511bf
Fix custom severity rules not being applied

Summary: It seems that `severity.rules` does not override the default linter severities set by the `ArcanistLinter` itself. This seems incorrect and counter-intuitive.

Test Plan: Created a `"severity.rules": { "(.*)": "disabled" }"` configuration and verified that it was being applied.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D10475
src/lint/linter/ArcanistLinter.php