小程序的 .editorconfig
https://github.com/youzan/zanui-weapp/blob/master/.editorconfig
可以参考有赞UI的配置,如下:
root = true
[*]
indent_style = space
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.{wxml,wxss,js,json}]
indent_size = 2