fix-whitespace: Fixes whitespace issues.

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

Removes trailing whitespace, lines containing only whitespace and ensure that every file ends in a newline character.

[Skip to Readme]


Versions 0.0.5, 0.0.5
Change log
Dependencies base (>= && <4.16), directory (>= && <1.4), extra (>=1.1 && <2.0), filepath (>= && <1.5), filepattern (==0.1.2.*), text (>= && <1.3), yaml (>=0.8.4 && <0.12) [details]
License LicenseRef-OtherLicense
Author 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.
Maintainer Liang-Ting Chen <>
Category Text
Home page
Bug tracker
Source repo head: git clone
Uploaded by AndreasAbel at 2021-03-10T18:41:09Z


Maintainer's Corner

For package maintainers and hackage trustees

Readme for fix-whitespace-0.0.5

[back to package description]

fix-whitespace: Fixes whitespace issues

Hackage version Hackage CI fix-whitespace on Stackage Nightly Stackage LTS version Build status

This tool can keep your project and repository clean of trailing whitespace and missing terminal newline.

Usage: fix-whitespace [-h|--help] [-v|--verbose] [--check] [--config CONFIG] [FILES]

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):

Available options:

For an example configuration file see the one of Agda.