mirror of
https://github.com/okhsunrog/vpnhide.git
synced 2026-04-28 06:31:27 +00:00
- Add .editorconfig with ktlint config (disable wildcard-import rule, allow PascalCase for @Composable functions) - Add kmod/.clang-format from upstream kernel tree - Run clang-format on vpnhide_kmod.c (kernel coding style) - Run ktlint --format on all Kotlin files (lsposed + test-app)
14 lines
376 B
INI
14 lines
376 B
INI
root = true
|
|
|
|
[*]
|
|
indent_size = 4
|
|
indent_style = space
|
|
end_of_line = lf
|
|
insert_final_newline = true
|
|
trim_trailing_whitespace = true
|
|
|
|
[*.kt]
|
|
# Compose @Composable functions use PascalCase by convention
|
|
ktlint_function_naming_ignore_when_annotated_with = Composable
|
|
# Wildcard imports are idiomatic for Compose (androidx.compose.*)
|
|
ktlint_standard_no-wildcard-imports = disabled
|