.prettierrc.cjs 350 B

12345678910111213141516171819
  1. // @see https://prettier.io/docs/en/options
  2. module.exports = {
  3. singleQuote: true,
  4. printWidth: 100,
  5. tabWidth: 2,
  6. useTabs: false,
  7. semi: false,
  8. trailingComma: 'all',
  9. endOfLine: 'auto',
  10. htmlWhitespaceSensitivity: 'ignore',
  11. overrides: [
  12. {
  13. files: '*.json',
  14. options: {
  15. trailingComma: 'none',
  16. },
  17. },
  18. ],
  19. }