prettier.config.js 514 B

12345678910111213141516171819202122232425
  1. /*
  2. * @Author: sjl
  3. * @Date: 2023-05-23 17:18:31
  4. * @Descripttion:
  5. */
  6. module.exports = {
  7. printWidth: 150,
  8. tabWidth: 2,
  9. useTabs: false,
  10. semi: true,
  11. vueIndentScriptAndStyle: false,
  12. singleQuote: true,
  13. quoteProps: 'as-needed',
  14. bracketSpacing: true,
  15. trailingComma: 'es5',
  16. jsxBracketSameLine: false,
  17. jsxSingleQuote: false,
  18. arrowParens: 'always',
  19. insertPragma: false,
  20. requirePragma: false,
  21. proseWrap: 'never',
  22. htmlWhitespaceSensitivity: 'strict',
  23. endOfLine: 'auto',
  24. rangeStart: 0,
  25. };