Name of this rule that users call via .scalafix.conf or in the sbt shell. By convention, a name should be PascalCase matching the class name of the rule. Example good name: NoVars, ExplicitUnit. Example bad name: no-vars, noVars, FixVars.
Returns string output of applying this single patch.
Returns linter messages to report violations of this rule.
Returns unified diff from applying this patch
Returns a patch to fix violations of this rule.
Initialize this rule with the given user configuration.
Initialize this rule with the given user configuration.
This method is called once by scalafix before rule is called. Use this method to either read custom configuration or to build expensive indices.
The .scalafix.conf configuration.
the initialized rule or an error. If no initialization is needed, return Configured.Ok(this).
Combine this rule with another rule.
A Scalafix Rule.
To provide automatic fixes for this rule, override the
fix
method. Example:To report violations of this rule (without automatic fix), override the
check
method. Example: