mirror of
https://github.com/mgechev/revive.git
synced 2025-01-10 03:17:11 +02:00
443bfc9e0b
* Adds rule superfluous-else (an extension of indent-error-flow) * Fix superfluous-else rule struct namming. * Adds superfuous-else rule to the rules table * Adds confusing-naming rule * adds multifile test * [WIP] fix multiple file test * draft solution for detecting confusing-names through multiple files * [WIP] confusing-name multiple files * draft working version * cleaner version + more informative messages * adds check on struct field names * confusing-namming: fix tests
8 lines
185 B
Go
8 lines
185 B
Go
// Test of confusing-naming rule.
|
|
|
|
// Package pkg ...
|
|
package pkg
|
|
|
|
func aglobal() { // MATCH /Function 'aglobal' differs only by capitalization to other function in the same package/
|
|
}
|