]> khamidou — GitHub mirrors - arcanist.git/commit
get jshint error codes
authorTal Shiri <tal@sookasa.com>
Fri, 4 Oct 2013 13:29:47 +0000 (06:29 -0700)
committerepriestley <git@epriestley.com>
Fri, 4 Oct 2013 13:29:47 +0000 (06:29 -0700)
commit4e892e72697a8cae86078b5f64c7eaea96c073b4
treedfc959ec9727fa0ba9cf5f770309eb4df43b4a86
parent587addfd9472293e60f1e7522b0b70f65703893f
get jshint error codes

Summary:
makes jshint slightly more useful by printing out error numbers. I love memorizing numbers.
Sorry about the crappy getLintMessageName(). There was no list of error names, just the long descriptions that are already rendered as 'reason'.

Test Plan: Verify that the numbers are mezmorizing. Been tested on OSX with jshint v2.1.11

Reviewers: epriestley

Reviewed By: epriestley

CC: Korvin, aran
Differential Revision: https://secure.phabricator.com/D7213
src/lint/linter/ArcanistJSHintLinter.php
src/lint/linter/reporter.js