Last Updated: February 25, 2016

Kill whitespace in your Rails project

Rake task that can help you to:

  • Remove trailing whitespace
  • Convert hard-tabs into two-space soft-tabs
  • Remove consecutive blank lines

Be sure to use the correct version:
Linux distributions have GNU sed, and Mac OS, FreeBSD have BSD sed.

2 Responses
Add your response

Lovely !

over 1 year ago ·