# 告诉EditorConfigæ’ä»¶ï¼Œè¿™æ˜¯æ ¹æ–‡ä»¶ï¼Œä¸ç”¨ç»§ç»å¾€ä¸ŠæŸ¥æ‰¾ root = true # 匹é…全部文件 [*] # 设置å—符集 charset = utf-8 # ç¼©è¿›é£Žæ ¼ï¼Œå¯é€‰spaceã€tab indent_style = space # ç¼©è¿›çš„ç©ºæ ¼æ•° indent_size = 2 # 结尾æ¢è¡Œç¬¦ï¼Œå¯é€‰lfã€crã€crlf end_of_line = lf # 在文件结尾æ’入新行 insert_final_newline = true # åˆ é™¤ä¸€è¡Œä¸çš„å‰åŽç©ºæ ¼ trim_trailing_whitespace = true # 匹é…md结尾的文件 [*.md] insert_final_newline = false trim_trailing_whitespace = false