Created
July 8, 2025 14:31
-
-
Save renanalencar/6b1be3e30d4112f28290e53a3651deaf to your computer and use it in GitHub Desktop.
YAML file to configure Detekt plugin for Kotlin projects
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| style: | |
| MagicNumber: | |
| active: true | |
| ignoreNumbers: [-1, 0, 1, 2, 100, 120] | |
| ignoreHashCodeFunction: true | |
| MaxLineLength: | |
| active: true | |
| maxLineLength: 120 | |
| excludePackageStatements: true | |
| excludeImportStatements: true | |
| OptionalUnit: | |
| active: true | |
| WildcardImport: | |
| active: true | |
| excludeImports: | |
| - "java.util.*" | |
| - "kotlinx.android.synthetic.**" | |
| SpacingBetweenPackageAndImports: | |
| active: true | |
| formatting: | |
| active: true | |
| autoCorrect: true | |
| indentation: | |
| indentSize: 4 | |
| continuationIndentSize: 4 | |
| trailingCommaOnCallSite: | |
| active: true | |
| trailingCommaOnDeclarationSite: | |
| active: true | |
| importOrdering: | |
| active: true | |
| layout: ['*,^'] | |
| parameterWrapping: | |
| active: false # para evitar conflito com Compose + listas encadeadas |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment