-
Notifications
You must be signed in to change notification settings - Fork 39
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
[request] Add capability to configure in-code instead of YAML #1041
Comments
Hi @Starlight220 , thanks for your feedback! What exactly do you mean by in-code configuration? Diktat already has an integration with spotless, which accepts yaml configuration. What is your use case for programmatic alternative? |
Instead of splitting the configuration to the YAML file, having all the format config in one place (the gradle script) would be nice. From the user side, it would either be a map (similar to For configuring of a lot of inspections a separate config file would be better, but in cases where only a few inspections are configured, it'll be much more efficient. Is this a wanted feature? |
@Starlight220 several notes about configuration:
I think we should focus on this task, but with a medium priority |
Actually we even have a special generated class called In gradle plugin we would have something like this:
|
it's duplicated by #1694 |
This could be used primarily for integration with spotless.
The text was updated successfully, but these errors were encountered: