]> khamidou — GitHub mirrors - arcanist.git/commit
Implement Comprehensive Lint Engine
authorDavid Cramer <dcramer@gmail.com>
Tue, 17 Jan 2012 20:17:51 +0000 (12:17 -0800)
committerDavid Cramer <dcramer@gmail.com>
Tue, 17 Jan 2012 20:46:06 +0000 (12:46 -0800)
commit5cd2eec6f1386b9c2042d56f2d5a9d73c9059816
treed3cded7bb9c60af1c182cecf89122ad793dc1283
parent6c613292f7d580234470e3d4e8e211f7a739a326
Implement Comprehensive Lint Engine

Summary:
This adds a new lint engine, ComprehensiveLintEngine, which
includes sane defaults for some generic languages.

Ideally this would include *all* available language linters,
but that can be enhanced at a later point. Right now it's mostly
the base linter with additional JavaScript and Python linters.

Test Plan:
Adjust the lint_engine to be "ComprehensiveLinterEngine". You'll
also need jshint, pyflakes, and pep8 to all be available on PATH.

Run arc lint against files which contain .php, .py, and .js.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran
Differential Revision: https://secure.phabricator.com/D1439
src/__phutil_library_map__.php
src/lint/engine/comprehensive/ComprehensiveLintEngine.php [new file with mode: 0644]
src/lint/engine/comprehensive/__init__.php [new file with mode: 0644]
src/lint/linter/jshint/__init__.php