Auto fixing rules

Clayton comes already with 45+ out of the box rules that you can activate on your projects to detect problems present in your application.
This is great, but what do you think about having the option to allow Clayton not only to detect but also fix issues present in your code?

Would this be great? … or too scary :grimacing:? What are your thoughts?

1 Like

I think I suggested this in an email.

I think we should for each rules which Clayton can fix, there should be the following options:

  1. Fix on current branch (no review necessary).
  2. Create new pull request against current branch.
  3. Create new pull request against main branch.
  4. Don’t fix.

When Clayton creates new branches, it should request reviews from the authors of the branch it wishes to merge to.

4 Likes