LicenseRef-OtherLicense licensed by fix-whitespace was originally written by Nils Anders Danielsson as part of Agda 2 with contributions from Ulf Norell, Andrés Sicard-Ramírez, Andreas Abel, Philipp Hausmann, Jesper Cockx, Vlad Semenov, and Liang-Ting Chen.
The program does the following to files specified in FILES or in the
configuration file 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.
Expand tabs to spaces (optionally).
Available options:
-h --help
Show this help information.
-v --verbose
Show files as they are being checked.
--version
Show program’s version.
--config=CONFIG
Override the project configuration fix-whitespace.yaml.
--tab=TABSIZE
Expand tab characters to TABSIZE (default: 8) many spaces.
Keep tabs if 0 is given as TABSIZE. (Option available since 0.0.9.)
--check
With --check the program does not change any files,
it just checks if any files would have been changed.
In the latter case, it returns with a non-zero exit code.