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
After merging #4315 that allow the rule authors to provide its own configuration we should provide a tool to generate those files and then document the feature.
We could document and then create the tool, but I think that it will be easier to create the tool than explain how to generate the config files by hand.
Right now inside :detekt-generator generates some files related with documentation and configuration of the rules that are in our own repo. Exactly:
Generates a .md with the documentation of the rules of each rule set. That information is extracted from the kdoc and annotations that the rules have.
Generates the config.yml file of :detekt-formatting. That information is extracted from the annotations that those rules have. (The generation of deket-default-config.yml is really similar but it's not exactly the same and that's something that only detekt needs)
With this issue what we want is to make the things that :detekt-generator does available for any rule author out there.
The text was updated successfully, but these errors were encountered:
Once the cli is/are done we can wrap it/hem inside a gradle task. But that would be other task.
But this part is just an idea, the important thing is to have something that auto generates the config.yml file. The documentation has lower priority. And if it's not a cli that's ok too.
After merging #4315 that allow the rule authors to provide its own configuration we should provide a tool to generate those files and then document the feature.
We could document and then create the tool, but I think that it will be easier to create the tool than explain how to generate the config files by hand.
Right now inside
:detekt-generator
generates some files related with documentation and configuration of the rules that are in our own repo. Exactly:.md
with the documentation of the rules of each rule set. That information is extracted from the kdoc and annotations that the rules have.config.yml
file of:detekt-formatting
. That information is extracted from the annotations that those rules have. (The generation ofdeket-default-config.yml
is really similar but it's not exactly the same and that's something that onlydetekt
needs)With this issue what we want is to make the things that
:detekt-generator
does available for any rule author out there.The text was updated successfully, but these errors were encountered: