mirror of https://gitee.com/xiaonuobase/snowy
【更新】删除无用配置,默认值就是这些
parent
1a4ec87b69
commit
3aefc5fd8b
|
@ -31,15 +31,6 @@ module.exports = {
|
||||||
jsxBracketSameLine: true,
|
jsxBracketSameLine: true,
|
||||||
// 箭头函数,只有一个参数的时候,也需要括号
|
// 箭头函数,只有一个参数的时候,也需要括号
|
||||||
arrowParens: 'always',
|
arrowParens: 'always',
|
||||||
// 每个文件格式化的范围是文件的全部内容
|
|
||||||
rangeStart: 0,
|
|
||||||
rangeEnd: Infinity,
|
|
||||||
// 不需要写文件开头的 @prettier
|
|
||||||
requirePragma: false,
|
|
||||||
// 不需要自动在文件开头插入 @prettier
|
|
||||||
insertPragma: false,
|
|
||||||
// 使用默认的折行标准
|
|
||||||
proseWrap: 'preserve',
|
|
||||||
// 根据显示样式决定 html 要不要折行
|
// 根据显示样式决定 html 要不要折行
|
||||||
htmlWhitespaceSensitivity: 'css',
|
htmlWhitespaceSensitivity: 'css',
|
||||||
// 换行符使用 lf
|
// 换行符使用 lf
|
||||||
|
|
Loading…
Reference in New Issue