mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-24 21:15:51 +01:00
13310814da
* #2606 add prettier plugin sort imprts * #2606 update pnpm-lock.yaml * #2606 update eslint rules * #2606 fixes website directory formatting Co-authored-by: Ayush Sharma <ayush.sharma@trivago.com>
17 lines
450 B
JavaScript
17 lines
450 B
JavaScript
module.exports = {
|
|
endOfLine: 'lf',
|
|
useTabs: false,
|
|
printWidth: 100,
|
|
tabWidth: 2,
|
|
singleQuote: true,
|
|
bracketSpacing: true,
|
|
jsxBracketSameLine: true,
|
|
trailingComma: 'es5',
|
|
semi: true,
|
|
plugins: [require('@trivago/prettier-plugin-sort-imports')],
|
|
importOrder: ['^@verdaccio/(.*)$', '^[./]'],
|
|
importOrderSeparation: true,
|
|
importOrderParserPlugins: ['typescript', 'classProperties', 'jsx'],
|
|
importOrderSortSpecifiers: true,
|
|
};
|