Back to Intellij Community

Detekt Compose rules

platform/jewel/detekt-rules/updating-rules.md

2025.3-rc-2865 B
Original Source

Detekt Compose rules

This is the Detekt Compose rules JAR. It is used for static analysis in the IDE and by the Gradle build.

For more info see this page. Current rules JAR version: 0.4.26

Getting findings in the IDE editor

  1. Install the Detekt IntelliJ plugin
  2. Run ./install-rules-to-idea.sh from this directory

Updating the rules

To update the rules JAR:

  1. Go to https://github.com/mrmans0n/compose-rules/releases/latest
  2. Download the detekt-compose-[...]-all.jar file
  3. Rename it to detekt-compose.jar
  4. Replace the file in this folder with the new one
  5. Update the version number and link above