2
0

prettier.config.js 378 B

1234567891011121314151617
  1. /**
  2. * @see https://prettier.io/docs/en/options.html
  3. */
  4. module.exports = {
  5. arrowParens: 'always',
  6. bracketSameLine: false,
  7. bracketSpacing: true,
  8. embeddedLanguageFormatting: 'auto',
  9. endOfLine: 'lf',
  10. htmlWhitespaceSensitivity: 'css',
  11. jsxSingleQuote: false,
  12. printWidth: 80,
  13. proseWrap: 'preserve',
  14. quoteProps: 'consistent',
  15. semi: true,
  16. singleQuote: true,
  17. };