Commit f5664973 by Jaxon

style(config): 统一调整项目缩进配置为2空格

更新 .prettierrc.mjs 与 .editorconfig 配置,将缩进宽度从4改为2,同时移除冗余的分文件缩进配置
1 parent 3f01dc93
......@@ -9,15 +9,5 @@ end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = tab
indent_size = 4
tab_width = 4
[*.{json,jsonc}]
indent_style = tab
indent_size = 4
tab_width = 4
[*.{js,ts,jsx,tsx,wxml,wxss,wxs,scss,sass}]
indent_style = tab
indent_size = 4
tab_width = 4
indent_size = 2
tab_width = 2
export default {
printWidth: 200,
tabWidth: 4,
tabWidth: 2,
useTabs: true,
semi: true,
singleQuote: false,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!