Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 388 Bytes

README.md

File metadata and controls

9 lines (5 loc) · 388 Bytes

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. Install it and enable whitespace.