- Read this article before writing commit messages
detektitself should not report any new errors- This repo uses tabs!
- Use idea-code-style.xml for coding style
- Run
detektFormatbefore commiting - Make sure
when {orobject : MyType { ...is on the same line as=eg.
fun stuff(x: Int) = when(x) {
1..10 -> ...
else -> ...
}- ... do not forget to add the new rule to a
RuleSetProvider. - ... do not forget to add the new rule to the
default-detekt-config.ymlin thedetekt-cli-resources. - ... do not forget to write a description for the issue of the new rule.
- be aware that your PR will stay open for at least two days so that other users can give feedback.
- make sure to set the new rule
active: falsein the default config. Brave users can test it on demand. After some time and testing there is a chance this rule will become active on default.
- new features? -> Update README.md / from
1.x.xWiki - add changes in CHANGELOG.md ->
groovy github-milestone-report.groovy arturbosch/detekt [milestone-number] - migrations expected? -> Update MIGRATION_GUIDE.md
- all new contributors mentioned? -> README.md>Contributors, Update
all contributors-Badge - new gradle-plugin release? -> Update gradle-version badge