]> khamidou — GitHub mirrors - arcanist.git/commit
Add spell check linter
authorJack Lindamood <jack@facebook.com>
Mon, 16 Jan 2012 05:28:58 +0000 (21:28 -0800)
committerepriestley <git@epriestley.com>
Mon, 16 Jan 2012 13:46:26 +0000 (05:46 -0800)
commitc5dfa34f1055804f9fa6b72d14945eab1e58fc42
tree87a62bd89ff6803a340483865d25f0e5b9e5ea14
parent7e63e232ba6c310ccbf3648a031c370b71956107
Add spell check linter

Summary:
Inspired by http://news.ycombinator.com/item?id=3464671 and a lot of
diffs I've seen @ FB, I've added a spell checking linter.  To reduce
false positives, it's only a blacklist.  Still, it catches a large
number of 'issues'.

Test Plan:
Unit tests.  Ran on FB's codebase.  No false positives
noticed but a lot of cases caught.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, epriestley, jack
Differential Revision: https://secure.phabricator.com/D1409
src/__phutil_library_map__.php
src/lint/engine/phutil/PhutilLintEngine.php
src/lint/engine/phutil/__init__.php
src/lint/linter/spelling/ArcanistSpellingDefaultData.php [new file with mode: 0644]
src/lint/linter/spelling/ArcanistSpellingLinter.php [new file with mode: 0644]
src/lint/linter/spelling/__init__.php [new file with mode: 0644]
src/lint/linter/spelling/__tests__/ArcanistSpellingLinterTestCase.php [new file with mode: 0644]
src/lint/linter/spelling/__tests__/__init__.php [new file with mode: 0644]
src/lint/linter/spelling/__tests__/data/spell.lint-test [new file with mode: 0644]