.prettierrc.mjs 706 B

1234567891011121314151617181920212223242526272829303132
  1. /**
  2. * Copyright (c) 2013-Now https://jeesite.com All rights reserved.
  3. * No deletion without permission, or be held responsible to law.
  4. * @author ThinkGem
  5. */
  6. export default {
  7. printWidth: 120,
  8. tabWidth: 2,
  9. useTabs: false,
  10. semi: true,
  11. vueIndentScriptAndStyle: true,
  12. singleQuote: true,
  13. quoteProps: 'as-needed',
  14. bracketSpacing: true,
  15. trailingComma: 'all',
  16. jsxSingleQuote: false,
  17. arrowParens: 'always',
  18. insertPragma: false,
  19. requirePragma: false,
  20. proseWrap: 'preserve',
  21. htmlWhitespaceSensitivity: 'strict',
  22. endOfLine: 'auto',
  23. plugins: ['prettier-plugin-packagejson'],
  24. overrides: [
  25. {
  26. files: '.*rc',
  27. options: {
  28. parser: 'json',
  29. },
  30. },
  31. ],
  32. };