mirror of
https://github.com/jlengrand/detekt.git
synced 2026-03-10 08:11:23 +00:00
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:
2
.github/CONTRIBUTING.md
vendored
2
.github/CONTRIBUTING.md
vendored
@@ -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 ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user