]> khamidou — GitHub mirrors - arcanist.git/commit
Added `ArcanistTextLinter::LINT_BOF_WHITESPACE` and `ArcanistTextLinter::LINT_EOF_WHI...
authorJoshua Spence <josh@joshuaspence.com>
Tue, 14 Jan 2014 02:05:42 +0000 (18:05 -0800)
committerepriestley <git@epriestley.com>
Tue, 14 Jan 2014 02:05:42 +0000 (18:05 -0800)
commitd62bd48a8103bb2515f8029efbaf05d04b19e2cd
tree95fae8dd57382cc4de3bc0d59cbf1a801dc0cf28
parentdd12b72f9a0336eea5efa845e815903eb9039d9e
Added `ArcanistTextLinter::LINT_BOF_WHITESPACE` and `ArcanistTextLinter::LINT_EOF_WHITESPACE`

Summary: This might not be universally desireable, but I found myself writing an additional linter (which I had called `WhitespaceTextLinter`) for the sake of these two linter tests. I figured it may be of use upstream, and so I decided to submit it as a diff. I won't be offended if it is rejected however.

Test Plan: `arc lint` and `arc unit` are both okay with it.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley

CC: Korvin, epriestley, aran
Differential Revision: https://secure.phabricator.com/D7957
.divinerconfig
bin/arc.bat
scripts/arcanist.php
src/lint/linter/ArcanistLicenseLinter.php
src/lint/linter/ArcanistTextLinter.php
src/lint/linter/__tests__/text/bof-whitespace-1.lint-test [new file with mode: 0644]
src/lint/linter/__tests__/text/bof-whitespace-2.lint-test [new file with mode: 0644]
src/lint/linter/__tests__/text/eof-whitespace.lint-test [new file with mode: 0644]
src/unit/engine/CSharpToolsTestEngine.php
src/workflow/ArcanistBackoutWorkflow.php
src/workflow/ArcanistRevertWorkflow.php