Skip to content

anton-avm/Detekt-Rules

Repository files navigation

detekt custom rule template

This repository is a template. You can use it to generate your own repository to write and share your custom rules.

How to use it

  1. Create a new repository using this one as a template. Click here
  2. Edit MyRule to fit your use case
  3. Share your rule! You can upload your rule to Maven Central if you want. If you don't want to do all the steps that Maven Central requires you can just share your rule using jitpack.
  4. Extra: you can remove all this README and explain what your rule does and how to configure it.

Documentation

You can find the documentation about how to write custom rules here.

Note

  • Remember that, by default, all rules are disabled. To configure your rules edit the file in src/main/resources/config/config.yml.
  • Once you have your rules ready you can publish them on the detekt's marketplace to improve the discoverability. To do so create a PR editing this file.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published