prettier.config.js 446 B

12345678910111213141516171819
  1. module.exports = {
  2. // These settings are duplicated in .editorconfig:
  3. tabWidth: 2, // indent_size = 2
  4. useTabs: false, // indent_style = space
  5. endOfLine: 'lf', // end_of_line = lf
  6. semi: false, // default: true
  7. singleQuote: true, // default: false
  8. printWidth: 100, // default: 80
  9. trailingComma: 'es5',
  10. bracketSpacing: true,
  11. overrides: [
  12. {
  13. files: '*.js',
  14. options: {
  15. parser: 'flow',
  16. },
  17. },
  18. ],
  19. }