| # https://editorconfig.org |
| root = true |
| |
| [*] |
| indent_style = space |
| indent_size = 2 |
| |
| end_of_line = lf |
| charset = utf-8 |
| trim_trailing_whitespace = true |
| insert_final_newline = true |
| |
| [*.{java,kt,kts,scala,rs,xml,kt.spec,kts.spec}] |
| indent_size = 4 |
| |
| [*.{kt,kts}] |
| ij_kotlin_imports_layout=* |
| # Ideally, no experimental rule should be disabled. Ktlint should follow the dogfooding principle. This means that an |
| # experimental rule should only be added to the master branch no sooner than that this rule has been applied on the |
| # ktlint code base itself. |
| ij_kotlin_allow_trailing_comma=false |
| ij_kotlin_allow_trailing_comma_on_call_site=false |
| |
| [*.md] |
| trim_trailing_whitespace = false |
| |
| [gradle/verification-metadata.xml] |
| indent_size = 3 |