Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ultraware/whitespace
https://github.com/ultraware/whitespace
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ultraware/whitespace
- Owner: ultraware
- License: mit
- Created: 2018-11-02T11:48:13.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-06-17T09:11:02.000Z (5 months ago)
- Last Synced: 2024-06-19T17:51:36.530Z (5 months ago)
- Language: Go
- Size: 15.6 KB
- Stars: 16
- Watchers: 7
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Whitespace linter
Whitespace is a linter that checks for unnecessary newlines at the start and end of functions, if, for, etc.
## Installation guide
To install as a standalone linter, run `go install github.com/ultraware/whitespace/cmd/whitespace@latest`.
Whitespace is also included in [golangci-lint](https://github.com/golangci/golangci-lint/). Install it and enable whitespace.