style: 更新 .editorconfig 文件配置

- 扩展配置到更多文件类型,包括 CSS 预处理器文件
- 添加 end_of_line 和 max_line_length 设置
- 统一使用 LF 换行符
- 设置最大行长度为 120 字符
This commit is contained in:
严浩
2025-08-19 16:24:04 +08:00
parent e4287bb0e1
commit 868972e889
6 changed files with 6 additions and 4 deletions

View File

@@ -1,6 +1,8 @@
[*.{js,jsx,mjs,cjs,ts,tsx,mts,cts,vue}]
[*.{js,jsx,mjs,cjs,ts,tsx,mts,cts,vue,css,scss,sass,less,styl}]
charset = utf-8
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
end_of_line = lf
max_line_length = 120