1
0
mirror of https://github.com/mgechev/revive.git synced 2024-11-28 08:49:11 +02:00
revive/testdata/var-naming.go
Vincent Baron 64dda06595
feat: capitalise var naming to IDs (#964)
* feat: capitalise var naming to IDs

* feat: added test case for IDs case
2024-01-17 14:01:40 +01:00

9 lines
213 B
Go

package fixtures
func foo() string {
customId := "result"
customVm := "result" // MATCH /var customVm should be customVM/
customIds := "result" // MATCH /var customIds should be customIDs/
return customId
}