Page MenuHomePhabricator

Skip the "Too Many Errors" error that is raised by JSHint.
ClosedPublic

Authored by joshuaspence on Jun 23 2014, 6:04 PM.
Tags
None
Referenced Files
F19729658: D9693.diff
Sat, Feb 14, 8:58 AM
F19607373: D9693.id23258.diff
Feb 3 2026, 11:11 AM
F19607371: D9693.id23258.diff
Feb 3 2026, 11:10 AM
F19565108: D9693.id23258.diff
Jan 31 2026, 5:39 PM
F19537488: D9693.diff
Jan 21 2026, 12:52 PM
F19504374: D9693.diff
Jan 9 2026, 5:03 AM
F19504373: D9693.diff
Jan 9 2026, 5:03 AM
F18734988: D9693.id.diff
Sep 30 2025, 11:07 PM
Subscribers

Details

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.

Diff Detail

Repository
rARC Arcanist
Branch
jshint-toomanyerrors
Lint
Lint Passed
SeverityLocationCodeMessage
Advicesrc/lint/linter/ArcanistJSHintLinter.php:35XHP16TODO Comment
Unit
Tests Passed
Build Status
Buildable 1336
Build 1336: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

joshuaspence retitled this revision from to Skip the "Too Many Errors" error that is raised by JSHint..
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
This revision is now accepted and ready to land.Jun 23 2014, 6:15 PM