DodoForMastodon icon indicating copy to clipboard operation
DodoForMastodon copied to clipboard

Setup Detekt

Open racka98 opened this issue 1 year ago โ€ข 0 comments

๐Ÿ“‘ What does this PR do?

This PR adds support for Detekt as discussed on issue #11

The rule add here are the default ones with some tweaks for Jetpack Compose. Such function naming, complexity, compose annotations and Twitter Comose Rules

โœ… Checklist

  • [x] My pull request adheres to the code style of this project
  • [x] My code requires changes to the documentation
  • [x] I have updated the documentation as required
  • [ ] All the tests have passed

๐Ÿงช How can this PR been tested?

  • Run ./gradlew detekt to run Detekt for the entire project
  • Run ./gradlew module:detekt to run Detekt on a specific module

๐Ÿงพ Tasks Remaining: (List of tasks remaining to be implemented)

  • Running the check for the whole project and fixing all the issues highlighted by Detekt. This should be done on a new PR after this has been merged.

๐Ÿ–ผ๏ธ Screenshots (if applicable):

racka98 avatar Nov 17 '22 06:11 racka98