Replace @active KDoc tag with @ActiveByDefault annotation (#3592)

* Add @ActiveByDefault annotation

* Add support for @ActiveByDefault annotation

* Use annotation for all activated in v1.2.0

* Use annotation for all activated after v1.2.0

* Use annotation for all activated in v1.0.0

* Update documentation with regard to RuleSetProvider

* Update documentation

* Remove leading 'v' from version in annotation

* Use named parameter 'since' for @ActiveByDefault

* check version matches semantic version pattern.

* Fix typo and correct version format

* Fix merge errors

Co-authored-by: Markus Schwarz <post@markus-schwarz.net>
Co-authored-by: Chao Zhang <zhangchao6865@gmail.com>
This commit is contained in:
marschwar
2021-03-28 20:21:09 +02:00
committed by GitHub
parent 92b6a01903
commit 36edd4c528
145 changed files with 399 additions and 289 deletions

View File

@@ -64,7 +64,7 @@ Kotlin files AST. This can be helpful when implementing and debugging rules.
After some time and testing there is a chance this rule will become active on default.
Rules that contain an `@active` tag in their KDoc will be marked as active in the `default-detekt-config.yml`.
Rules annotated with `@ActiveByDefault` will be marked as active in the`default-detekt-config.yml`.
### When updating the website ...