chore: 添加 .editorconfig 配置 ktlint Composable 函数命名规则
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
a8717dec7d
commit
2b0491d7d7
5
.editorconfig
Normal file
5
.editorconfig
Normal file
@ -0,0 +1,5 @@
|
||||
root = true
|
||||
|
||||
[*.{kt,kts}]
|
||||
# 忽略标注 @Composable 的函数命名检查,Compose 规范要求 PascalCase
|
||||
ktlint_function_naming_ignore_when_annotated_with = Composable
|
||||
Loading…
x
Reference in New Issue
Block a user