mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-22 23:02:41 +01:00
Advice user to set up stripping trailing white space in editor
Test Plan: Triggered it. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Maniphest Tasks: T2022 Differential Revision: https://secure.phabricator.com/D3864
This commit is contained in:
parent
24405e0e86
commit
90417fbda8
1 changed files with 3 additions and 1 deletions
|
@ -197,7 +197,9 @@ final class ArcanistTextLinter extends ArcanistLinter {
|
||||||
$this->raiseLintAtOffset(
|
$this->raiseLintAtOffset(
|
||||||
$offset,
|
$offset,
|
||||||
self::LINT_TRAILING_WHITESPACE,
|
self::LINT_TRAILING_WHITESPACE,
|
||||||
'This line contains trailing whitespace.',
|
'This line contains trailing whitespace. Consider setting up your '.
|
||||||
|
'editor to automatically remove trailing whitespace, you will save '.
|
||||||
|
'time.',
|
||||||
$string,
|
$string,
|
||||||
'');
|
'');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue