{"id":28065824,"url":"https://github.com/agda/fix-whitespace","last_synced_at":"2025-06-21T00:09:28.022Z","repository":{"id":39649223,"uuid":"207744259","full_name":"agda/fix-whitespace","owner":"agda","description":"Fixes whitespace issues","archived":false,"fork":false,"pushed_at":"2025-05-19T10:59:19.000Z","size":116,"stargazers_count":8,"open_issues_count":6,"forks_count":7,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-06-12T22:51:53.360Z","etag":null,"topics":["formatter","sanitization","version-control","whitespace"],"latest_commit_sha":null,"homepage":"https://hackage.haskell.org/package/fix-whitespace","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/agda.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-09-11T06:57:01.000Z","updated_at":"2025-05-19T10:59:24.000Z","dependencies_parsed_at":"2023-10-14T17:53:16.657Z","dependency_job_id":"d4381d1e-9658-46f4-8327-3ca43ebf693b","html_url":"https://github.com/agda/fix-whitespace","commit_stats":{"total_commits":107,"total_committers":9,"mean_commits":11.88888888888889,"dds":0.6355140186915889,"last_synced_commit":"37220b71a7058c64f4dd7401c9755af1003f931d"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/agda/fix-whitespace","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agda%2Ffix-whitespace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agda%2Ffix-whitespace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agda%2Ffix-whitespace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agda%2Ffix-whitespace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agda","download_url":"https://codeload.github.com/agda/fix-whitespace/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agda%2Ffix-whitespace/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261039108,"owners_count":23100975,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["formatter","sanitization","version-control","whitespace"],"created_at":"2025-05-12T14:33:17.071Z","updated_at":"2025-06-21T00:09:22.989Z","avatar_url":"https://github.com/agda.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"fix-whitespace: Fixes whitespace issues\n=======================================\n\n[![Hackage version](https://img.shields.io/hackage/v/fix-whitespace.svg?label=Hackage\u0026color=informational)](http://hackage.haskell.org/package/fix-whitespace)\n[![fix-whitespace on Stackage Nightly](https://stackage.org/package/fix-whitespace/badge/nightly)](https://stackage.org/nightly/package/fix-whitespace)\n[![Stackage LTS version](https://www.stackage.org/package/fix-whitespace/badge/lts?label=Stackage)](https://www.stackage.org/package/fix-whitespace)\n[![Build status](https://github.com/agda/fix-whitespace/workflows/Build%20by%20Stack/badge.svg)](https://github.com/agda/fix-whitespace/actions)\n[![Haskell-CI](https://github.com/agda/fix-whitespace/actions/workflows/haskell-ci.yml/badge.svg)](https://github.com/agda/fix-whitespace/actions/workflows/haskell-ci.yml)\n\nThis tool can keep your project and repository clean of trailing\nwhitespace and missing terminal newline.\n\nUsage: `fix-whitespace [-h|--help] [-v|--verbose] [-V|--version] [--check] [--config CONFIG] [FILES]`\n\nThe program does the following to files specified in `FILES` or in the\nconfiguration file `fix-whitespace.yaml` under the current directory\n(and its subdirectories):\n\n  * Remove trailing whitespace.\n  * Remove trailing lines containing nothing but whitespace.\n  * Ensure that the file ends in a newline character.\n  * Expand tabs to spaces (optionally).\n\nAvailable options:\n\n*  `-h  --help`\n\n   Show this help information.\n\n*  `-v  --verbose`\n\n   Show files as they are being checked.\n   _Since 0.1:_ Display location of detected whitespace violations.\n\n*  `-V  --version`\n\n   Show program's version.\n\n*  `--config=CONFIG`\n\n   Override the project configuration `fix-whitespace.yaml`.\n\n*  `--tab=TABSIZE`\n\n   Expand tab characters to TABSIZE (default: 8) many spaces.\n   Keep tabs if 0 is given as TABSIZE.  _(Option available since 0.0.9.)_\n\n*  `--check`\n\n   With `--check` the program does not change any files,\n   it just checks if any files would have been changed.\n   In the latter case, it returns with a non-zero exit code.\n\nFor an example configuration file see [the one of Agda](https://github.com/agda/agda/blob/f9a181685397517b5d14943ca88a1c0acacc2075/fix-whitespace.yaml).\n\nContinuous integration\n----------------------\n\n`fix-whitespace` comfortably integrates into your GitHub CI via the [`fix-whitespace-action`](https://github.com/andreasabel/fix-whitespace-action).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagda%2Ffix-whitespace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagda%2Ffix-whitespace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagda%2Ffix-whitespace/lists"}