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.6, 0.0.7, 0.0.8, 0.0.8, 0.0.9, 0.0.10, 0.0.11, 0.1
Change log
Dependencies base (>= && <5), directory (>= && <1.4), extra (>=1.1 && <2.0), filepath (>= && <1.5), filepattern (>=0.1.2 && <0.1.3), text (>= && <1.3 || >=2.0 && <2.1), 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 <>, Andreas Abel
Category Text
Home page
Bug tracker
Source repo head: git clone
Uploaded by AndreasAbel at 2022-05-29T03:52:35Z


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Readme for fix-whitespace-0.0.8

[back to package description]

fix-whitespace: Fixes whitespace issues

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

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

Usage: fix-whitespace [-h|--help] [-v|--verbose] [--version] [--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.