8000 Tags · ultraware/whitespace · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tags: ultraware/whitespace

Tags

v0.2.0

Toggle v0.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: remove golangci-lint mode (#13)

v0.1.1

Toggle v0.1.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update golang.org/x/tools (#10)

v0.1.0

Toggle v0.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Use go modules, analysis package and add test (#8)

* Use go modules, analysis package and add test

* Use go modules
* Use `analysis.Analyzer` for the linter
* Introduce running mode to use from `golangci-lint`
* Add tests using the testing package and assert fixer
* Add standalone linter (`cmd/whitespace`)

* Fix comments and typos, add another test

* Add GitHub actions

* Make linter work on non formatted files

Instead of relying on the file being `gofmt`:ed and only containing one
empty line at most this commit will keep track of comments after the
opening bracket of block statements and set the fix start to where this
comment ends. This means that we will fix all the way from the left
bracket or comment til the first statement no matter how many empty
lines this is.

This will also keep a list of lines affected by the linter to support
fixing multiple empty lines in `golangci-lint`.

* Fix typos, add tests from PR

* Multiline comments ending after opening pos is ok

* Fix typo

v0.0.5

Toggle v0.0.5's commit message

Verified

This commit was signed with the committer’s verified signature.
NiseVoid NiseVoid
Support function literals for multi-func

v0.0.4

Toggle v0.0.4's commit message

Verified

This commit was signed with the committer’s verified signature.
NiseVoid NiseVoid
Add setting to force a newline after multi-line function signatures

v0.0.3

Toggle v0.0.3's commit message

Verified

This commit was signed with the committer’s verified signature.
NiseVoid NiseVoid
Add setting to force a newline after multi-line ifs

v0.0.2

Toggle v0.0.2's commit message

Verified

This commit was signed with the committer’s verified signature.
NiseVoid NiseVoid
Don't crash on cgo

v0.0.1

Toggle v0.0.1's commit message

Verified

This commit was signed with the committer’s verified signature.
NiseVoid NiseVoid
Update for golangci-lint

0