diff --git a/.prettierrc.js b/.prettierrc.js index 473586a..509c15a 100644 --- a/.prettierrc.js +++ b/.prettierrc.js @@ -8,4 +8,10 @@ module.exports = { bracketSpacing: true, // 对象字面量的大括号间使用空格(默认true) jsxBracketSameLine: false, // 多行JSX中的>放置在最后一行的结尾,而不是另起一行(默认false) arrowParens: 'avoid', // 只有一个参数的箭头函数的参数是否带括号(默认avoid) + htmlWhitespaceSensitivity: 'ignore', // 空格不敏感。(开始标签、内容、结束标签各自单独一行) + // vueIndentScriptAndStyle: false, // 是否给vue中的