chore(styles): 调整格式化配置文件
- 修改prettier.config.mjs: 标签换行 - 修改eslint.config.mjs: 允许自闭合标签(如<br />)
This commit is contained in:
@ -20,7 +20,7 @@ export default {
|
||||
// 箭头函数参数括号
|
||||
arrowParens: "always",
|
||||
// 括号行位置
|
||||
bracketSameLine: true,
|
||||
bracketSameLine: false,
|
||||
// 换行符使用 lf
|
||||
endOfLine: "lf",
|
||||
// HTML 空格敏感度
|
||||
@ -37,6 +37,6 @@ export default {
|
||||
// 对 SCSS 文件使用双引号
|
||||
files: "*.scss",
|
||||
options: { singleQuote: false },
|
||||
},
|
||||
}
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user