/* prettier 配置文件 更多配置信息:https://prettier.io/docs/en/options.html */ module.exports = { semi: true, // Semicolons 分号,默认需要分号 tabWidth: 2, // 空格,默认 2, useTabs: false, singleQuote: true, // 单引号还是双引号,默认为false 双引号 trailingComma: "all", // 逗号 jsxBracketSameLine: false, // 默认为false,Put the > of a multi-line JSX element at the end of the last line instead of being alone on the next line (does not apply to self closing elements). };