mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
558fcafc71
* fix: format code prettier, enable ci * chore: add trivago import prettier pluggin
15 lines
422 B
JavaScript
15 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,
|
|
};
|