-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rewrites should be able to validate configuration during initialization #261
Milestone
Comments
olafurpg
added a commit
to olafurpg/scalafix
that referenced
this issue
Aug 30, 2017
This method can be used to do any sort of preprocessing before fixing files. For example, a rewrite that does dead-code elimination.could build a call graph in `init`.
bjaglin
pushed a commit
to liancheng/scalafix
that referenced
this issue
May 23, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, custom rewrites have to validate the configuration inside the
def rewrite(ctx: RewriteCtx)
method. It would be nice if they could validate the configuration only once during initialization.The text was updated successfully, but these errors were encountered: