1
0
mirror of https://github.com/mgechev/revive.git synced 2025-01-10 03:17:11 +02:00
revive/testdata/golint/package-doc6.go
chavacava 5bf08fcd40
Fix 922 (#989)
* removes spurious warning on package comments starting with spaces

* skips directive comments when linting package comments

---------

Co-authored-by: chavacava <salvador.cavadini@gmail.com>
2024-05-13 14:23:02 +02:00

6 lines
136 B
Go

//revive:disable
//nolint:dupl,revive // looks the same but isn't
//revive:enable
package foo // MATCH /should have a package comment/