]> khamidou — GitHub mirrors - arcanist.git/commitdiff
added getLinterConfigurationName() to ArcanistJSHintLinter.
authorTal Shiri <tal@sookasa.com>
Thu, 3 Oct 2013 02:02:40 +0000 (19:02 -0700)
committerepriestley <git@epriestley.com>
Thu, 3 Oct 2013 02:02:40 +0000 (19:02 -0700)
Summary: Needed for it to be usable from ArcanistConfigurationDrivenLintEngine, which is pretty ok.

Test Plan: put jshint in your .arclint and feel the electricity in the air.

Reviewers: epriestley

Reviewed By: epriestley

CC: Korvin, aran
Differential Revision: https://secure.phabricator.com/D7200

src/lint/linter/ArcanistJSHintLinter.php

index 849bb227e44050125c6491fbc67872737188e722..ef25346dc8a56855500ce3d8355727e3c2999a1a 100644 (file)
@@ -44,6 +44,10 @@ final class ArcanistJSHintLinter extends ArcanistLinter {
     return 'JSHint';
   }
 
+  public function getLinterConfigurationName() {
+    return 'jshint';
+  }
+
   public function getLintSeverityMap() {
     return array(
       self::JSHINT_ERROR => ArcanistLintSeverity::SEVERITY_ERROR