Module documentation for 0.0.5
There are no documented modules for this package.
fix-whitespace: Fixes whitespace issues
This tool can keep your project and repository clean of trailing whitespace and missing terminal newline.
fix-whitespace [-h|--help] [-v|--verbose] [--check] [--config CONFIG] [FILES]
The program does the following to files specified in
FILES or in the
fix-whitespace.yaml under the current directory
(and its subdirectories):
- Remove trailing whitespace.
- Remove trailing lines containing nothing but whitespace.
- Ensure that the file ends in a newline character.
Show this help information.
Show files as they are being checked.
Override the project configuration
--checkthe program does not change any files, it just checks if any files would have been changed. In this case it returns with a non-zero exit code.
For an example configuration file see the one of Agda.
0.0.5 released 2021-03-11
- initial release
- tested with GHC 8.0.2 - 9.0.1