All Projects → meronokbay → whitespace-linter

meronokbay / whitespace-linter

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

Programming Languages

ruby
36898 projects - #4 most used programming language

Labels

Projects that are alternatives of or similar to whitespace-linter

Dry Schema
Coercion and validation for data structures
Stars: ✭ 249 (+1456.25%)
Mutual labels:  ruby-gem
jekyll-extlinks
This Jekyll plugin adds custom attributes (rel="nofollow", target="_blank", etc.) to external links in your content.
Stars: ✭ 18 (+12.5%)
Mutual labels:  ruby-gem
rarbg
Ruby client for the RARBG Torrent API.
Stars: ✭ 17 (+6.25%)
Mutual labels:  ruby-gem
crate ruby
A Ruby client library for CrateDB.
Stars: ✭ 31 (+93.75%)
Mutual labels:  ruby-gem
memo wise
The wise choice for Ruby memoization
Stars: ✭ 486 (+2937.5%)
Mutual labels:  ruby-gem
hatenablog
A Ruby gem for Hatena Blog AtomPub API
Stars: ✭ 40 (+150%)
Mutual labels:  ruby-gem
Unimidi
Realtime MIDI IO for Ruby
Stars: ✭ 229 (+1331.25%)
Mutual labels:  ruby-gem
total
Ruby Gem to get total memory size in the system
Stars: ✭ 15 (-6.25%)
Mutual labels:  ruby-gem
tty-platform
Operating system detection
Stars: ✭ 28 (+75%)
Mutual labels:  ruby-gem
agency-jekyll-theme
Jekyll version of the newest Agency Bootstrap theme, plus new features: Google Analytics, Markdown support, custom pages, and more!
Stars: ✭ 222 (+1287.5%)
Mutual labels:  ruby-gem
busser-rspec
Run RSpec tests through busser
Stars: ✭ 12 (-25%)
Mutual labels:  ruby-gem
dokken-images
Minimal Docker Images for testing
Stars: ✭ 20 (+25%)
Mutual labels:  ruby-gem
pixitar
🧝 Pixitar is an avatar generation library written in Ruby.
Stars: ✭ 20 (+25%)
Mutual labels:  ruby-gem
gcra-ruby
Generic cell rate algorithm (leaky bucket) implementation for rate limiting
Stars: ✭ 49 (+206.25%)
Mutual labels:  ruby-gem
grape-jwt-authentication
A reusable Grape JWT authentication concern
Stars: ✭ 31 (+93.75%)
Mutual labels:  ruby-gem
Api Fuzzer
API Fuzzer which allows to fuzz request attributes using common pentesting techniques and lists vulnerabilities
Stars: ✭ 238 (+1387.5%)
Mutual labels:  ruby-gem
glimmer-dsl-opal
Glimmer DSL for Opal (Pure-Ruby Web GUI and Auto-Webifier of Desktop Apps)
Stars: ✭ 22 (+37.5%)
Mutual labels:  ruby-gem
githat
Git diff with code syntax highlight
Stars: ✭ 32 (+100%)
Mutual labels:  ruby-gem
superglue
A productive library for Classic Rails, React and Redux
Stars: ✭ 106 (+562.5%)
Mutual labels:  ruby-gem
sequel-seed
A Sequel extension to make seeds/fixtures manageable like migrations
Stars: ✭ 25 (+56.25%)
Mutual labels:  ruby-gem

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].