mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-25 08:12:40 +01:00
Fix jshint tests
Summary: The linter's behavior was changed in https://github.com/jshint/jshint/issues/3444: "warnings" are no longer counted for `maxerr`. Updating the test to match... Test Plan: `arc unit src/lint/linter/__tests__/ArcanistJSHintLinterTestCase.php` with a recent-ish (2.13.6) jshint. Reviewers: O1 Blessed Committers, valerio.bozzolan Reviewed By: O1 Blessed Committers, valerio.bozzolan Subscribers: speck, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno Differential Revision: https://we.phorge.it/D25355
This commit is contained in:
parent
726b148afc
commit
6832afc300
1 changed files with 4 additions and 3 deletions
|
@ -1,5 +1,6 @@
|
||||||
/* jshint maxerr: 1 */
|
/* jshint maxerr: 1 */
|
||||||
console.log('foobar')
|
console.log(
|
||||||
|
{
|
||||||
~~~~~~~~~~
|
~~~~~~~~~~
|
||||||
disabled:2:22:E043
|
disabled:3:1:E043
|
||||||
warning:2:22:W033
|
error:3:1:E019
|
||||||
|
|
Loading…
Reference in a new issue