mgechev / revive

🔥 ~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for golint
https://revive.run
MIT License
4.69k stars 269 forks source link

more precise regular expression for directive comments #988

Closed chavacava closed 1 month ago

chavacava commented 1 month ago

Improves regular expression for handling cases like

//this is a regular command that's incorrectly formatted //nolint:foobar // because one two three

ccoVeille commented 1 month ago

This PR supersedes #986 and is related to #808