Fix existing trailing whitespace in bash scripts.

This commit is contained in:
Tim Abbott 2016-04-08 11:50:14 -07:00
parent 4fa63c29ca
commit caba24b2af
2 changed files with 10 additions and 9 deletions

View File

@ -113,6 +113,7 @@ def custom_check_file(fn, rules, skip_rules=[]):
return failed
whitespace_rules = [
# This linter should be first since bash_rules depends on it.
{'pattern': '\s+$',
'strip': '\n',
'description': 'Fix trailing whitespace'},