github.com/songshiyun/revive@v1.1.5-0.20220323112655-f8433a19b3c5/testdata/disable-annotations3.go (about)

     1  // Package fix_tures is a testing package
     2  // tests for issue #540
     3  //revive:disable-next-line:var-naming
     4  package fix_tures
     5  
     6  func foo1() {
     7  	// something before the annotation
     8  	//revive:disable-next-line:var-naming
     9  	// something after
    10  	var invalid_name = 0
    11  }
    12  
    13  //revive:disable-next-line:var-naming
    14  func (source Source) BaseApiURL() string {}