.prettierrc.js 206 B

123456789
  1. module.exports = {
  2. bracketSpacing: true,
  3. jsxBracketSameLine: true,
  4. singleQuote: true,
  5. arrowParens: 'avoid',
  6. trailingComma: 'none',
  7. // 避免截断标签
  8. htmlWhitespaceSensitivity: 'ignore'
  9. };