pinterest / ktlint

An anti-bikeshedding Kotlin linter with built-in formatter
https://pinterest.github.io/ktlint/
MIT License
6.06k stars 504 forks source link

Add reference in documentation for each rule to suppress or adjust `.editorconfig` #2705

Closed paul-dingemans closed 1 week ago

paul-dingemans commented 1 week ago

Description

Add reference in documentation for each rule to suppress or adjust .editorconfig

Display an annotation for each rule id containing code fragments to:

The solution now looks as follows: Screenshot 2024-06-18 at 20 21 21

Checklist

Before submitting the PR, please check following (checks which are not relevant may be ignored):

Documentation is updated. See difference between snapshot and release documentation