mirror of
https://we.phorge.it/source/arcanist.git
synced 2025-01-24 21:48:20 +01:00
48d62ed444
Summary: The error context (a.k.a. "original text") as provided by `jshint` is not very useful and actually causes `arc lint` to display the lint message incorrectly. {F169277} The underlying problem here is that the error context from `jshint` contains the entire line from the input file rather than just the offending source code. Test Plan: Ran `arc lint -- webroot/rsrc/js/core/behavior-hovercard.js` (in rP) and verified that the output looked reasonable. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D9675 |
||
---|---|---|
.. | ||
__tests__ | ||
spelling | ||
xhpast | ||
ArcanistBaseXHPASTLinter.php | ||
ArcanistChmodLinter.php | ||
ArcanistClosureLinter.php | ||
ArcanistCoffeeLintLinter.php | ||
ArcanistConduitLinter.php | ||
ArcanistCppcheckLinter.php | ||
ArcanistCpplintLinter.php | ||
ArcanistCSharpLinter.php | ||
ArcanistCSSLintLinter.php | ||
ArcanistExternalLinter.php | ||
ArcanistFilenameLinter.php | ||
ArcanistFlake8Linter.php | ||
ArcanistFutureLinter.php | ||
ArcanistGeneratedLinter.php | ||
ArcanistGoLintLinter.php | ||
ArcanistJscsLinter.php | ||
ArcanistJSHintLinter.php | ||
ArcanistJSONLinter.php | ||
ArcanistJSONLintLinter.php | ||
ArcanistLesscLinter.php | ||
ArcanistLinter.php | ||
ArcanistMergeConflictLinter.php | ||
ArcanistNoLintLinter.php | ||
ArcanistPEP8Linter.php | ||
ArcanistPhpcsLinter.php | ||
ArcanistPhutilLibraryLinter.php | ||
ArcanistPhutilXHPASTLinter.php | ||
ArcanistPuppetLintLinter.php | ||
ArcanistPyFlakesLinter.php | ||
ArcanistPyLintLinter.php | ||
ArcanistRubyLinter.php | ||
ArcanistScriptAndRegexLinter.php | ||
ArcanistSpellingLinter.php | ||
ArcanistTextLinter.php | ||
ArcanistXHPASTLinter.php | ||
ArcanistXMLLinter.php | ||
reporter.js |