https://github.com/php-cs-fixer/trailing-whitespace-checker
https://github.com/php-cs-fixer/trailing-whitespace-checker
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/php-cs-fixer/trailing-whitespace-checker
- Owner: PHP-CS-Fixer
- License: other
- Created: 2017-09-19T21:11:39.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-05-31T16:47:21.000Z (about 6 years ago)
- Last Synced: 2025-01-17T13:28:45.682Z (5 months ago)
- Language: Shell
- Size: 62.5 KB
- Stars: 2
- Watchers: 6
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Trailing whitespaces checker
============================This little bash script recursively iterates all files in the current directory and reports those that have lines with trailing whitespaces. In case a file is found, the script will exit with status code `3`, or `0` otherwise.
Installation
------------Copy the [check-trailing-whitespaces file](./check-trailing-whitespaces) in a directory that is part of your `PATH` so it can be executed globally.
Usage
-----Just run the script:
`$ check-trailing-whitespace`