mirror of
https://github.com/mgechev/revive.git
synced 2025-11-23 22:04:49 +02:00
14
testdata/disable-annotations3.go
vendored
Normal file
14
testdata/disable-annotations3.go
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
// Package fix_tures is a testing package
|
||||
// tests for issue #540
|
||||
//revive:disable-next-line:var-naming
|
||||
package fix_tures
|
||||
|
||||
func foo1() {
|
||||
// something before the annotation
|
||||
//revive:disable-next-line:var-naming
|
||||
// something after
|
||||
var invalid_name = 0
|
||||
}
|
||||
|
||||
//revive:disable-next-line:var-naming
|
||||
func (source Source) BaseApiURL() string {}
|
||||
Reference in New Issue
Block a user