.prettierrc.js 462 B

1234567891011121314151617181920212223242526
  1. module.exports = {
  2. singleQuote: true,
  3. trailingComma: 'all',
  4. printWidth: 100,
  5. proseWrap: 'never',
  6. endOfLine: 'lf',
  7. overrides: [
  8. {
  9. files: '.prettierrc',
  10. options: {
  11. parser: 'json',
  12. },
  13. },
  14. {
  15. files: 'document.ejs',
  16. options: {
  17. parser: 'html',
  18. },
  19. },
  20. ],
  21. plugins: [
  22. 'prettier-plugin-organize-imports',
  23. 'prettier-plugin-packagejson',
  24. 'prettier-plugin-two-style-order',
  25. ],
  26. };