chore: 添加 .editorconfig 配置 ktlint Composable 函数命名规则

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
xfy 2026-06-01 13:20:55 +08:00
parent a8717dec7d
commit 2b0491d7d7

5
.editorconfig Normal file
View File

@ -0,0 +1,5 @@
root = true
[*.{kt,kts}]
# 忽略标注 @Composable 的函数命名检查Compose 规范要求 PascalCase
ktlint_function_naming_ignore_when_annotated_with = Composable