Hello, I can't disable rule use @checkstyle
/**
* Creates a scope from the given path.
*
* @param path The path
* @return The scope
* @checkstyle MethodNameCheck (must match pattern '^[a-z]{2,}[a-zA-Z]+$')
*/
public Scope by(final String path) {
final Scheme scheme = new Scheme(path);
final Scope.Mode mode = this.modes.getOrDefault(scheme.asString(), new UnexpectedMode());
return mode.scope(path);
}
result
[INFO] Checkstyle: src/main/java/com/stdsolutions/resxel/ScopeFrom.java[45]: Name 'by' must match pattern '^[a-z]{2,}[a-zA-Z]+$'. (MethodNameCheck)