0 Star 0 Fork 0

姜汁可乐/x-render

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.editorconfig 936 Bytes
一键复制 编辑 原始数据 按行查看 历史
xuyh0817 提交于 2022-06-19 16:17 +08:00 . first commit
#https://www.cnblogs.com/puyongsong/p/12509331.html
#https://editorconfig.org
#根目录的配置文件,编辑器会由当前目录向上查找,如果找到`roor=true`的文件,则不再查找
root=true
#匹配所有的文件
[*]
#空格缩进
indent_style=space
#缩进空格为4个
indent_size=2
#文件换行符是linux的`\n`
end_of_line=lf
#文件编码是utf-8
charset=utf-8
#不保留行末的空格
trim_trailing_whitespace=true
#文件末尾添加一个空行
insert_final_newline=true
#大括号不另起一行
curly_bracket_next_line=false
#运算符两遍都有空格
spaces_around_operators=true
#条件语句格式是1tbs
indent_brace_style=1tbs
#对所有的js文件生效
[*.js]
#字符串使用单引号
quote_type=single
#对所有html,less,css,json文件生效
[*.{html,less,css,json}]
#字符串使用双引号
quote_type=double
#对package.json生效
[package.json]
#使用2个空格缩进
indent_size=2
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/xuyh0817/x-render.git
git@gitee.com:xuyh0817/x-render.git
xuyh0817
x-render
x-render
master

搜索帮助