# http://editorconfig.org
root = true
# 说明
## 设置文件编码为 UTF-8;
## 用四个/两个空格代替制表符;
## 在保存时删除尾部的空白字符;
## 在文件结尾添加一个空白行;
[*]
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
charset = utf-8
[*.{js,html,css}]
indent_style = space
indent_size = 4
[*.{json,yml}]
indent_style = space
indent_size = 2
【前端工具】editorconfig-mapbox的配置
于 2021-09-08 09:16:48 首次发布
本文详细介绍了EditorConfig的配置文件内容,包括文件编码、缩进风格、行尾字符和空白行处理等设置,旨在促进代码风格的一致性和团队合作效率。主要针对JavaScript、HTML、CSS及JSON、YML文件的格式规范进行了规定。
摘要由CSDN通过智能技术生成