# EditorConfig is awesome: https://EditorConfig.org # 表示是最顶层的配置文件 root = true # 对所有文件生效 [*] charset = utf-8 end_of_line = lf insert_final_newline = true trim_trailing_whitespace = true # 对 JS、TS、Vue 文件的配置 [*.{js,jsx,ts,tsx,vue}] indent_style = tab indent_size = 2 # 对 JSON、YAML 文件的配置 [*.{json,yml,yaml}] indent_style = tab indent_size = 2 # 对 Markdown 文件的配置 [*.md] trim_trailing_whitespace = false