mirror of
https://github.com/mgechev/revive.git
synced 2025-11-23 22:04:49 +02:00
more precise regular expression for directive comments (#988)
Co-authored-by: chavacava <salvador.cavadini@gmail.com>
This commit is contained in:
3
testdata/comment-spacings.go
vendored
3
testdata/comment-spacings.go
vendored
@@ -52,3 +52,6 @@ type c struct {
|
||||
//export MyFunction
|
||||
|
||||
//nolint:gochecknoglobals
|
||||
|
||||
//this is a regular command that's incorrectly formatted //nolint:foobar // because one two three
|
||||
// MATCH:56 /no space between comment delimiter and comment text/
|
||||
|
||||
Reference in New Issue
Block a user