# http://editorconfig.org root = true # 匹配所有的文件 [*] # 文件编码是 utf-8 charset=utf-8 # 文件换行符是 linux 的 `\n` end_of_line=lf # 文件末尾不添加一个空行 insert_final_newline=false # 空格缩进 indent_style=tab # 缩进空格为4个 indent_size=4 # 运算符两两边都有空格 spaces_around_operators = true # 对所有的 ts和js 文件生效 [*.{ts, js}] # 字符串使用单引号 quote_type = single