.prettierrc 588 B

12345678910111213141516171819202122
  1. {
  2. "printWidth": 150,
  3. "tabWidth": 2,
  4. "useTabs": false,
  5. "semi": true,
  6. "singleQuote": true,
  7. "quoteProps": "preserve",
  8. "jsxSingleQuote": false,
  9. "bracketSameLine": false,
  10. "trailingComma": "none",
  11. "bracketSpacing": false,
  12. "embeddedLanguageFormatting": "auto",
  13. "arrowParens": "always",
  14. "requirePragma": false,
  15. "insertPragma": false,
  16. "proseWrap": "preserve",
  17. "htmlWhitespaceSensitivity": "css",
  18. "vueIndentScriptAndStyle": false,
  19. "endOfLine": "auto",
  20. "spaceBeforeFunctionParen": true // 可选,影响函数括号
  21. }