https://github.com/ultraware/whitespace
https://github.com/ultraware/whitespace
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ultraware/whitespace
- Owner: ultraware
- License: mit
- Created: 2018-11-02T11:48:13.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-12-17T14:27:55.000Z (5 months ago)
- Last Synced: 2024-12-17T15:32:19.517Z (5 months ago)
- Language: Go
- Size: 21.5 KB
- Stars: 19
- Watchers: 8
- Forks: 5
- 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.