]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Advice user to set up stripping trailing white space in editor
authorvrana <jakubv@fb.com>
Thu, 1 Nov 2012 18:09:11 +0000 (11:09 -0700)
committervrana <jakubv@fb.com>
Thu, 1 Nov 2012 18:23:31 +0000 (11:23 -0700)
Test Plan: Triggered it.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin
Maniphest Tasks: T2022

Differential Revision: https://secure.phabricator.com/D3864

src/lint/linter/ArcanistTextLinter.php

index 882a14be87e7d3b805be82d21a84e1252ae395d2..b26191cec18cdb36161bcfb4592bb9cc27bf0138 100644 (file)
@@ -197,7 +197,9 @@ final class ArcanistTextLinter extends ArcanistLinter {
       $this->raiseLintAtOffset(
         $offset,
         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,
         '');
     }