Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / .editorconfig
.editorconfig27 lines · 599 BRaw
| 1 | root = true |
| 2 | |
| 3 | [*] |
| 4 | end_of_line = lf |
| 5 | charset = utf-8 |
| 6 | trim_trailing_whitespace = true |
| 7 | insert_final_newline = true |
| 8 | |
| 9 | [*.{kt,kts}] |
| 10 | indent_style = space |
| 11 | indent_size = 4 |
| 12 | max_line_length = 120 |
| 13 | # Repo convention: one public @Composable per file, named as the file — |
| 14 | # composables are PascalCase, so ktlint's function-naming rule must not |
| 15 | # demand camelCase for them. (No ktlint rule is disabled repo-wide.) |
| 16 | ktlint_function_naming_ignore_when_annotated_with = Composable |
| 17 | |
| 18 | [*.{rs,toml}] |
| 19 | indent_style = space |
| 20 | indent_size = 4 |
| 21 | |
| 22 | [*.{xml,gradle}] |
| 23 | indent_style = space |
| 24 | indent_size = 4 |
| 25 | |
| 26 | [Makefile] |
| 27 | indent_style = tab |