ktlint
Ktlint is a code controller and formater that does not require improved configuration for Kotlin projects. It comes with built-in rule sets and formatting tools, also supports .editorconfig files. offers built-in reporting formats such as plain, json, html and checkstyle, and can be expanded with custom rule sets.
ktlint
80ktlint · Code Quality & Review
Common commercial products in this category: SonarCloud, Codacy, DeepSource
- By scanning your Kotlin source files, you detect style violations.
- You make your code conform to the standards with automatic formatting feature.
- You expand the tool by adding custom rule sets and reporters.
- • NeutralGitHub Issue
Wildcard imports
“Please forgive my bikeshedding, but I beg to differ with the "no wildcards" rule. My primary argument is that intellij does add wildcard imports in the default configuration, and I think I should not have to configure intellij to play nice with ktlint. Adding `// ktlint-disable…”
- • NeutralGitHub Issue
Annotation wrapping before explicit constructor (ktlint_official)
“## Expected Behavior Our Android project contains many class declarations that look like this: ```kotlin class Foo @Inject constructor( private val someDependency: SomeDependency, private val anotherDependency: AnotherDependency, ) : Bar { //... } ``` In my opinion, this should…”