]> khamidou — GitHub mirrors - arcanist.git/commit
Skip the "Too Many Errors" error that is raised by JSHint.
authorJoshua Spence <josh@joshuaspence.com>
Mon, 23 Jun 2014 18:16:15 +0000 (04:16 +1000)
committerJoshua Spence <josh@joshuaspence.com>
Mon, 23 Jun 2014 18:16:15 +0000 (04:16 +1000)
commit213628ff34de0178c184f022bbde225c6a614dbe
tree43146317f89b7a534e31a3d6e02b3f59d764853e
parent48d62ed444cf009abbde9eb8300fe94f63807686
Skip the "Too Many Errors" error that is raised by JSHint.

Summary: If JSHint encounters //too many// errors (by default, more than 50) errors, then it quits prematurely and raises an additional (rather unhelpful) "Too Many Errors" error. We should just ignore this additional error.

Test Plan: Added a test case.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9693
src/lint/linter/ArcanistJSHintLinter.php
src/lint/linter/__tests__/jshint/too-many-errors.lint-test [new file with mode: 0644]