Shared naming conventions allow teams to collaborate effectively. This rule raises an issue when a local variable or function parameter name does not match the provided regular expression.
With the default regular expression ^(_|[a-zA-Z0-9]+)$:
func doSomething(my_param int) { // Noncompliant
var local_ int; // Noncompliant
...
}
func doSomething(myParam int) {
var local int;
...
}{code}