1
0
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:
Oleksandr Redko
2024-11-11 13:39:10 +02:00
committed by chavacava
parent c0d4d07ab6
commit be95bfa705
299 changed files with 181 additions and 178 deletions

12
testdata/var_naming_test.go vendored Normal file
View File

@@ -0,0 +1,12 @@
// Test for name linting.
// Package pkg_with_underscores ...
package varnaming_test
var var_name int // MATCH /don't use underscores in Go names; var var_name should be varName/
func Test_ATest() {}
func Example_AnExample() {}
func Benchmark_ABenchmark() {}
func Fuzz_AFuzz() {}