]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Disable the customization of linter severities for `ArcanistCommitLinter`
authorJoshua Spence <josh@joshuaspence.com>
Sun, 11 Jan 2015 20:24:53 +0000 (07:24 +1100)
committerJoshua Spence <josh@joshuaspence.com>
Sun, 11 Jan 2015 20:24:53 +0000 (07:24 +1100)
Summary: The expectation is that this linter only raises errors.

Test Plan: This is mostly theoretical.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D11331

src/lint/linter/ArcanistCommitLinter.php

index 17648335f1554fe74227280deb0dfbfd685f7975..5a4c5c2637dd5576cb13a8e9353e920767dafd9d 100644 (file)
@@ -30,6 +30,10 @@ final class ArcanistCommitLinter extends ArcanistLinter {
     );
   }
 
+  protected function canCustomizeLintSeverities() {
+    return false;
+  }
+
   public function lintPath($path) {
     if ($this->getEngine()->getCommitHookMode()) {
       $this->lintNoCommit($path);