mirror of
https://github.com/mgechev/revive.git
synced 2025-11-23 22:04:49 +02:00
feature: var-naming - add more bad package names and check for collisions with standard lib packages (#1540)
This commit is contained in:
4
testdata/if_return.go
vendored
4
testdata/if_return.go
vendored
@@ -1,7 +1,7 @@
|
||||
// Test of redundant if err != nil
|
||||
|
||||
// Package pkg ...
|
||||
package pkg
|
||||
// Package fixtures ...
|
||||
package fixtures
|
||||
|
||||
func f() error {
|
||||
if err := f(); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user