1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-22 14:52:40 +01:00

added getLinterConfigurationName() to ArcanistJSHintLinter.

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
This commit is contained in:
Tal Shiri 2013-10-02 19:02:40 -07:00 committed by epriestley
parent 02e4a690dd
commit 0ece525d6c

View 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