0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00
verdaccio/prettier.config.js
2023-01-18 22:49:28 +01:00

15 lines
422 B
JavaScript

module.exports = {
endOfLine: 'lf',
useTabs: false,
printWidth: 100,
tabWidth: 2,
singleQuote: true,
bracketSpacing: true,
trailingComma: 'es5',
semi: true,
plugins: [require('@trivago/prettier-plugin-sort-imports')],
importOrder: ['^@verdaccio/(.*)$', '^[./]'],
importOrderSeparation: true,
importOrderParserPlugins: ['typescript', 'classProperties', 'jsx'],
importOrderSortSpecifiers: true,
};