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

@@ -32,7 +32,7 @@
"knip": "pnpm dlx knip"
},
"lint-staged": {
"{src,tests/playwright}/**/*.{js,jsx,ts,tsx,vue}": [
"{src,e2e/playwright}/**/*.{js,jsx,ts,tsx,vue}": [
"prettier --write",
"eslint --fix",
"oxlint --fix"