Rule execution order #3445
Replies: 2 comments 2 replies
-
Related with #2081 I still don't understand why to use ktlint inside detekt instead of ktlint directly. It works as a charm by itself. They even support baseline now! |
Beta Was this translation helpful? Give feedback.
-
About order between correctable and no correctable I was thinking about splitting it. If you want to correct issues you have one task. It doesn't fail because of issues and it doesn't create any report. It just fix. And then, the main task, that creates the reports and fail if there are issues etc. I think that it will fix our current problems about what to run before. But as an user if you want to fix all the fixable and get the report or will be a bit slower because you need to run two tasks. |
Beta Was this translation helpful? Give feedback.
-
In #3317, there are different arguments for running auto-correctible rules first or non-correctible rules first.
In addition, the existing multi rule paradigm is complicating our situation.
Beta Was this translation helpful? Give feedback.
All reactions