root = true # 换行符与字符集的编辑器侧约束(ENG-001 的辅助机制,仓库层策略以 .gitattributes 为准) [*] charset = utf-8 end_of_line = lf insert_final_newline = true trim_trailing_whitespace = true indent_style = space indent_size = 2 [*.md] # Markdown 的行尾双空格是硬换行语法,不做清理 trim_trailing_whitespace = false [*.{json,json5,yml,yaml}] indent_size = 2 [{*.ets,*.ts,*.js,*.mjs}] indent_size = 2