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...
Differential D25355
Fix jshint tests avivey on Jul 22 2023, 07:42. Authored by
Details
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... arc unit src/lint/linter/__tests__/ArcanistJSHintLinterTestCase.php with a recent-ish (2.13.6) jshint.
Diff Detail
Event TimelineComment Actions Interestingly, I think arc unit didn't find any tests to run... I triggered this explicitly. Comment Actions Everything before the first ~~~~~ line is copied to a new file, and the relevant linter is called on that file. The implementation of this is mostly in https://we.phorge.it/source/arcanist/browse/master/src/lint/linter/__tests__/ArcanistLinterTestCase.php$61. Comment Actions I honestly still do not understand what is happening here, what does it mean disabled:3:1:E043 or error:3:1:E019 or anything, but:
$ arc unit src/lint/linter/__tests__/ArcanistJSHintLinterTestCase.php PASS 592ms ArcanistJSHintLinterTestCase::testVersion PASS 4.7s ArcanistJSHintLinterTestCase::testLinter |