Skip to content

A Detekt ruleset for making your Kotlin code more explicit, type-safe, and simple.

License

Notifications You must be signed in to change notification settings

Ivy-Apps/detekt-explicit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a14243d · Jan 29, 2024

History

5 Commits
Jan 29, 2024
Jan 29, 2024
Jan 29, 2024
Jan 29, 2024
Jan 29, 2024
Jan 29, 2024
Jan 29, 2024
Jan 29, 2024
Jan 29, 2024
Jan 29, 2024
Jan 29, 2024
Jan 29, 2024

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.