1
0
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:
Collie
2025-10-15 06:20:44 +01:00
committed by GitHub
parent c603da3180
commit bc38b79980
7 changed files with 84 additions and 18 deletions

View File

@@ -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 {