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:
parent
02e4a690dd
commit
0ece525d6c
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue