ktlint rules in Sudsy
Kotlinversion 1.8.0 (released 2025-11-14)92% of its findings also reported85% of Kotlin files identical53 covered11 partial36 planned0 deferred
Every rule and setting of ktlint in the parity catalog, with the Sudsy equivalent. The lint share is the part of ktlint’s default set (in scope) whose findings Sudsy also reports on real-world code, with the preset that mirrors it. The format share is the part of real-world files that Sudsy formats to the same text as ktlint. Where the tool has a page for an entry, the id links to it.
Status: covered; partial (the note says what differs); not yet (planned); deferred; not planned; SDK (a .NET SDK diagnostic does it).
| Id | Sudsy | Status | Note |
|---|---|---|---|
annotation |
- | not yet | |
annotation-spacing |
- | not yet | |
argument-list-wrapping |
argument-list-wrapping |
covered | |
backing-property-naming |
- | not yet | |
binary-expression-wrapping |
- | not yet | |
blank-line-before-declaration |
formatter | partial | Comments between declarations: the blank line goes before a KDoc or the first comment only when no blank follows it. |
block-comment-initial-star-alignment |
formatter | covered | |
blank-line-between-when-conditions |
blank-line-between-when-conditions |
covered | |
when-entry-bracing |
when-entry-bracing |
covered | |
chain-method-continuation |
chain-method-continuation |
covered | |
chain-wrapping |
- | not yet | |
class-naming |
class-naming |
partial | Names in backticks are accepted; no test-file exceptions. |
class-signature |
class-signature |
covered | |
colon-spacing |
formatter | covered | |
comma-spacing |
formatter | covered | |
comment-spacing |
comment-space |
partial | Line comments only. |
comment-wrapping |
- | not yet | |
condition-wrapping |
- | not yet | |
context-receiver-list-wrapping |
- | not yet | |
context-receiver-wrapping |
- | not yet | |
curly-spacing |
formatter | covered | |
discouraged-comment-location |
- | not yet | |
dot-spacing |
formatter | covered | |
double-colon-spacing |
formatter | covered | |
enum-entry-name-case |
enum-entry-name-case |
covered | |
enum-wrapping |
- | not yet | |
expression-operand-wrapping |
- | not yet | |
filename |
filename |
partial | A file with a single class is not checked against the class name |
final-newline |
option kotlin.format.final_newline |
covered | |
fun-keyword-spacing |
- | not yet | |
function-expression-body |
function-expression-body |
covered | |
function-literal |
- | not yet | |
function-naming |
function-naming |
partial | @Composable, override and backtick names are left alone; a factory function is a capitalised name with a declared return type |
function-return-type-spacing |
formatter | covered | |
function-signature |
function-signature |
covered | |
function-start-of-body-spacing |
formatter | covered | |
function-type-modifier-spacing |
- | not yet | |
function-type-reference-spacing |
- | not yet | |
if-else-bracing |
- | not yet | |
if-else-wrapping |
multiline-if-else |
covered | |
import-ordering |
import-ordering |
covered | |
indent |
formatter | partial | Continuation lines after the wrapping rules below are not forced; the closing quote of a raw string is not re-indented. |
kdoc |
- | not yet | |
kdoc-wrapping |
- | not yet | |
keyword-spacing |
formatter | covered | |
max-line-length |
max-line-length |
partial | ktlint_official allows 140 columns (the max option defaults to 120); no exemption for package, import and raw-string lines. |
mixed-condition-operators |
- | not yet | |
modifier-list-spacing |
formatter | covered | |
modifier-order |
modifier-order |
partial | The shared rule over the #modifiers node; ktlint’s order, annotations stay in place |
multiline-expression-wrapping |
multiline-expression-wrapping |
covered | |
multiline-if-else |
multiline-if-else |
covered | |
multiline-loop |
- | not yet | |
no-blank-line-before-rbrace |
formatter | covered | |
no-blank-line-in-list |
- | not yet | |
no-blank-lines-in-chained-method-calls |
- | not yet | |
no-consecutive-blank-lines |
formatter | covered | |
no-consecutive-comments |
- | not yet | |
no-empty-class-body |
no-empty-class-body |
partial | Comments inside the braces do not count as content. |
no-empty-file |
no-empty-file |
covered | |
no-empty-first-line-in-class-body |
formatter | covered | |
no-empty-first-line-in-method-block |
formatter | covered | |
no-line-break-after-else |
- | not yet | |
no-line-break-before-assignment |
- | not yet | |
no-multi-spaces |
formatter | covered | |
no-semi |
- | not yet | only a ; that ends a line; the pattern matcher does not see line ends |
no-single-line-block-comment |
no-single-line-block-comment |
covered | |
no-trailing-spaces |
formatter | covered | |
no-unit-return |
no-unit-return |
covered | |
no-unused-imports |
unused-import |
covered | |
no-wildcard-imports |
no-wildcard-imports |
covered | |
nullable-type-spacing |
formatter | covered | |
op-spacing |
formatter | covered | |
package-name |
package-name |
covered | |
parameter-list-spacing |
- | not yet | |
parameter-list-wrapping |
parameter-list-wrapping |
covered | |
parameter-wrapping |
- | not yet | |
paren-spacing |
formatter | covered | |
property-naming |
property-naming |
partial | override properties are left alone; _name backing properties are not matched to a property |
property-wrapping |
- | not yet | |
range-spacing |
formatter | covered | |
spacing-around-angle-brackets |
formatter | covered | |
spacing-between-declarations-with-annotations |
blank-line-between-declarations |
covered | |
spacing-between-declarations-with-comments |
blank-line-between-declarations |
covered | |
spacing-between-function-name-and-opening-parenthesis |
formatter | covered | |
square-brackets-spacing |
formatter | covered | |
statement-wrapping |
statement-wrapping |
covered | |
string-template |
- | not yet | needs the character after ${x} (a Rust rule) |
string-template-indent |
- | not yet | |
then-spacing |
formatter | covered | |
trailing-comma-on-call-site |
trailing-comma-on-call-site |
covered | |
trailing-comma-on-declaration-site |
trailing-comma-on-declaration-site |
covered | |
try-catch-finally-spacing |
formatter | partial | Only the blank before else, catch and finally. |
type-argument-comment |
- | not yet | |
type-argument-list-spacing |
formatter | covered | |
type-parameter-comment |
- | not yet | |
type-parameter-list-spacing |
formatter | covered | |
unary-op-spacing |
formatter | covered | |
value-argument-comment |
- | not yet | |
value-parameter-comment |
- | not yet | |
wrapping |
newline-wrapping, block-comment-after-open |
covered |