mirror of
https://github.com/mgechev/revive.git
synced 2025-11-29 22:28:23 +02:00
feature: var-naming - add more bad package names and check for collisions with standard lib packages (#1540)
This commit is contained in:
6
testdata/var_naming_top_level_pkg.go
vendored
Normal file
6
testdata/var_naming_top_level_pkg.go
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
package pkg // MATCH /should not have a root level package called pkg/
|
||||
|
||||
const (
|
||||
Foo = "bar"
|
||||
Bar = "foo"
|
||||
)
|
||||
Reference in New Issue
Block a user