Skip to content
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.

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

License

Notifications You must be signed in to change notification settings

meronogbai/whitespace-linter

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Languages