Page MenuHomePhabricator

Improve parsing of `csslint` output
ClosedPublic

Authored by joshuaspence on Jan 11 2015, 1:48 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jan 5, 7:12 AM
Unknown Object (File)
Tue, Dec 31, 9:03 PM
Unknown Object (File)
Thu, Dec 19, 5:12 PM
Unknown Object (File)
Fri, Dec 13, 8:43 AM
Unknown Object (File)
Dec 10 2024, 9:27 PM
Unknown Object (File)
Dec 10 2024, 7:53 PM
Unknown Object (File)
Dec 5 2024, 9:28 AM
Unknown Object (File)
Nov 26 2024, 7:43 PM
Subscribers

Details

Summary

csslint returns an evidence field which contains the line of the "original text" which produced the linter message (see https://github.com/CSSLint/csslint/blob/5dd84b259b90c5ea8adbaf03d31e9df093cc3dcd/src/core/Reporter.js#L64). We can use this data instead of trying to achieve the same result using $this->getData($path).

Test Plan

csslint (362×611 px, 29 KB)

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

joshuaspence retitled this revision from to Improve parsing of `csslint` output.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
joshuaspence edited edge metadata.
joshuaspence updated this object.
epriestley edited edge metadata.
This revision is now accepted and ready to land.Jan 11 2015, 5:38 PM
This revision was automatically updated to reflect the committed changes.