mirror of
https://github.com/mgechev/revive.git
synced 2025-11-23 22:04:49 +02:00
refactor: rename files to follow Go convention
This commit is contained in:
committed by
chavacava
parent
c0d4d07ab6
commit
be95bfa705
11
testdata/var_naming_upper_case_const_false.go
vendored
Normal file
11
testdata/var_naming_upper_case_const_false.go
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
// should fail if upperCaseConst = false (by default) #851, #865
|
||||
|
||||
package fixtures
|
||||
|
||||
const SOME_CONST_2 = 1 // MATCH /don't use ALL_CAPS in Go names; use CamelCase/
|
||||
const _SOME_PRIVATE_CONST_2 = 2 // MATCH /don't use ALL_CAPS in Go names; use CamelCase/
|
||||
|
||||
const (
|
||||
SOME_CONST_3 = 3 // MATCH /don't use ALL_CAPS in Go names; use CamelCase/
|
||||
_SOME_PRIVATE_CONST_3 = 3 // MATCH /don't use ALL_CAPS in Go names; use CamelCase/
|
||||
)
|
||||
Reference in New Issue
Block a user