prettier.config.cjs 623 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * @Author: wjc
  3. * @Date: 2023-05-07 12:04:34
  4. * @LastEditors: wjc
  5. * @LastEditTime: 2023-05-09 16:32:34
  6. * @Description:
  7. */
  8. module.exports = {
  9. $schema: 'https://json.schemastore.org/prettierrc',
  10. printWidth: 100,
  11. tabWidth: 2,
  12. useTabs: false,
  13. semi: false,
  14. vueIndentScriptAndStyle: true,
  15. singleQuote: true,
  16. quoteProps: 'as-needed',
  17. bracketSpacing: true,
  18. trailingComma: 'es5',
  19. jsxBracketSameLine: false,
  20. jsxSingleQuote: false,
  21. arrowParens: 'always',
  22. insertPragma: false,
  23. requirePragma: false,
  24. proseWrap: 'never',
  25. htmlWhitespaceSensitivity: 'ignore',
  26. endOfLine: 'lf',
  27. rangeStart: 0,
  28. }