bebop / poly

A Go package for engineering organisms.
https://pkg.go.dev/github.com/bebop/poly
MIT License
663 stars 70 forks source link

Enable line-length linter `lll` for comments #348

Closed carreter closed 10 months ago

carreter commented 11 months ago

Enable lll in .golangci.yml and configure it to only apply to lines that have comments in them. This won't apply to multiline /* */ comments unfortunately, but it'd be a start to have it on // comments.

carreter commented 10 months ago

Turns out that it isn't really possible to exclude non-comment lines easily. Since it's not a huge deal, will close as wont-fix.