mirror of
https://github.com/mgechev/revive.git
synced 2025-01-10 03:17:11 +02:00
5bf08fcd40
* removes spurious warning on package comments starting with spaces * skips directive comments when linting package comments --------- Co-authored-by: chavacava <salvador.cavadini@gmail.com>
6 lines
136 B
Go
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/
|