//是否是顶级配置文件,设置为true的时候才会停止搜索.editorconfig文件
root = true
[*]
//缩进方式tab" | "space
indent_style = space
//缩进大小
indent_size = 4
//编码格式
charset = utf-8
//是否删除行尾空格
trim_trailing_whitespace = true
//是否让文件以空行结束
insert_final_newline = true
//最大行宽。
max_line_length<number>
二、常用文件名匹配
1、*
匹配除/之外的任意字符
2、**
匹配任意字符串
3、?
匹配任意单个字符
4、[name]
匹配name字符
5、[!name]
不匹配name字符
6、[s1,s2,s3]
匹配给定的字符串
7、[num1..num2]
匹配num1到mun2直接的整数
三、vs code安装editorconfig
1:在vs code 搜索editorconfig并进行安装
2:在vs code执行命令npm install -g editorconfig | npm install -D editorconfig