whitespace linter

A program that detects and formats trailing whitespace and extra empty lines in your code and config files.

16
0
Ruby

Whitespace Linter

Basic linter that detects and formats trailing whitespace and extra empty lines.

Features

  • Detects excessive whitespace in your file.
  • Allows you to fix detected errors.

Built With

  • Ruby
  • Rspec

Code examples

Bad code

screenshot

Good code

screenshot

Prerequisites

  • Ruby

Install

gem install ws_lint

Usage

ws_lint /path/to/file

Testing

bundle exec rspec

Author

šŸ‘¤ Meron Ogbai

šŸ¤ Contributing

Contributions, issues, and feature requests are welcome!

Show your support

Give a ā­ļø if you like this project!

šŸ“ License

This project is MIT licensed.