1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-08 23:25:51 +01:00
verdaccio/prettier.config.js
Juan Picado 558fcafc71
build: format code prettier, enable ci (#2886)
* fix: format code prettier, enable ci

* chore: add trivago import prettier pluggin
2022-01-09 20:51:50 +01:00

16 lines
422 B
JavaScript

module.exports = {
endOfLine: 'lf',
useTabs: false,
printWidth: 180,
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,
};