.prettierrc.cjs 450 B

12345678910111213141516
  1. module.exports = {
  2. plugins: [require('@trivago/prettier-plugin-sort-imports')],
  3. singleQuote: true,
  4. jsxSingleQuote: true,
  5. semi: false,
  6. useTabs: false,
  7. tabWidth: 2,
  8. bracketSpacing: true,
  9. bracketSameLine: false,
  10. arrowParens: 'always',
  11. trailingComma: 'none',
  12. importOrder: ['^node:.*', '<THIRD_PARTY_MODULES>', '^[./]'],
  13. importOrderSeparation: true,
  14. importOrderSortSpecifiers: true,
  15. importOrderGroupNamespaceSpecifiers: true
  16. }