.prettierrc.js 499 B

12345678910111213141516171819202122232425
  1. module.exports = {
  2. eslintIntegration: true,
  3. stylelintIntegration: true,
  4. printWidth: 120,
  5. singleQuote: true,
  6. tabWidth: 4,
  7. arrowParens: 'avoid',
  8. trailingComma: 'none',
  9. endOfLine: 'auto',
  10. overrides: [
  11. {
  12. files: '*.html',
  13. options: {
  14. parser: 'html'
  15. }
  16. },
  17. {
  18. files: '*.vue',
  19. options: {
  20. parser: 'vue'
  21. }
  22. }
  23. ],
  24. endOfLine: 'auto'
  25. };