Prettier 配置文件
module.exports = {
// 行长度
printWidth: 100,
// 缩进长度
tabWidth: 4,
// 使用 tab 缩进
useTabs: false,
// 分号
semi: true,
// 是否缩进 Vue 文件中的 <script> 和 <style> 代码
vueIndentScriptAndStyle: true,
// 单引号
singleQuote: true,
// 仅在需要时在对象属性周围添加引号
quoteProps: 'as-needed',
// 在对象文字中的括号之间打印空格
bracketSpacing: true,
// 尾部逗号
trailingComma: 'none',
// > 位置
jsxBracketSameLine: false,
// jsx 使用单引号
jsxSingleQuote: false,
// 箭头函数参数是否包裹在括号中
arrowParens: 'always',
// 插入编译指示
insertPragma: false,
// 需要编译指示
requirePragma: false,
// MarkDown 换行
proseWrap: 'never',
// HTML 空白敏感度
htmlWhitespaceSensitivity: 'strict',
// 换行格式
endOfLine: 'lf',
// 格式化给定字符偏移量
rangeStart: 0
};