You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
694 B

11 months ago
  1. {
  2. "tabWidth": 2,
  3. "useTabs": false,
  4. "endOfLine": "lf",
  5. "semi": true,
  6. "singleQuote": false,
  7. "printWidth": 80,
  8. "trailingComma": "es5",
  9. "bracketSpacing": true,
  10. "bracketSameLine": false,
  11. "overrides": [
  12. {
  13. "files": ["*.js", "*.mjs", "*.jsx"],
  14. "options": {
  15. "parser": "flow",
  16. "arrowParens": "always"
  17. }
  18. },
  19. {
  20. "files": ["*.config.js"],
  21. "options": {
  22. "semi": false,
  23. "parser": "flow",
  24. "trailingComma": "none"
  25. }
  26. },
  27. {
  28. "files": "*.html",
  29. "options": {
  30. "bracketSameLine": true
  31. }
  32. },
  33. {
  34. "files": ".prettierrc",
  35. "options": { "parser": "json" }
  36. }
  37. ]
  38. }