]> khamidou — GitHub mirrors - arcanist.git/commit
Upgrade C# linter to support linting multiple files at a time
authorJames Rhodes <jrhodes@redpointsoftware.com.au>
Mon, 18 Nov 2013 19:32:58 +0000 (11:32 -0800)
committerepriestley <git@epriestley.com>
Mon, 18 Nov 2013 19:32:58 +0000 (11:32 -0800)
commit61753b677096d411944e8bff42dd3ecb78cfcf8d
treebbb91e37650b069b344b250b35bbc6951b42ada2
parent19edbbb46e0e5fa4abe3e4c86e28102ebb43c50e
Upgrade C# linter to support linting multiple files at a time

Summary:
This upgrades `cslint` to support linting multiple files at a time.  As this required a backwards-incompatible to `cslint`, I've added a SUPPORTED_VERSION constant which can be used to detect these kinds of breaking changes in the future (and prompt users to upgrade the `cslint` they have in their repository).

The reason for this upgrade is mainly around running `arc lint --everything`, where there are significant performance benefits gained when bulk linting lots of files per command execution.

Test Plan: Upgraded `cslint` in the Tychaia repository and ran `arc lint --everything --trace`.  Saw a substantially less number of executions happening for linting and all of the results came through as expected.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley

CC: Korvin, epriestley, aran, waynea
Differential Revision: https://secure.phabricator.com/D7599
src/lint/linter/ArcanistCSharpLinter.php