You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.
Hi Gerret, that's a good find.
The first four take a parameter named tokens just like in the examples. It appears that this parameter is not listed in the scalastyle_definition.xml file which is used to generate the documentation (worth adding it if that's something you'd like to contribute?). Changing the defaults in your custom config should work regardless of this parameter missing from the docs. It also looks like the defaults match up with the examples except for EnsureSingleSpaceBeforeTokenChecker which confusingly has empty tokens (see here).
The ImportOrderChecker rule takes an arbitrary number of parameters based on the value of the groups parameter as shown in the example, so I can imagine its specification in scalastyle_definition.xml was deliberately omitted because the parameters are dynamic.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
On https://scalastyle.beautiful-scala.com/rules-1.5.0.html, for the rules:
Under the header "Parameters" it says no parameters, but all of these have parameters in the Example Configuration that follows directly.
Could you please clarify whether these rules take parameters or not?
The text was updated successfully, but these errors were encountered: