mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-06 23:43:32 +00:00
fd8c0f87b3
* ianvs > trivago * @phosphor-icons/react > phosphor-react
30 lines
673 B
JavaScript
30 lines
673 B
JavaScript
/**
|
|
* {@type require('prettier').Config}
|
|
*/
|
|
module.exports = {
|
|
useTabs: true,
|
|
printWidth: 100,
|
|
singleQuote: true,
|
|
trailingComma: 'none',
|
|
bracketSameLine: false,
|
|
semi: true,
|
|
quoteProps: 'consistent',
|
|
importOrder: [
|
|
// external packages
|
|
'<THIRD_PARTY_MODULES>',
|
|
// spacedrive packages
|
|
'^@sd/(interface|client|ui)(/.*)?$',
|
|
// internal packages
|
|
'^@/',
|
|
'^~/',
|
|
'',
|
|
// relative
|
|
'^[../]',
|
|
'^[./]'
|
|
],
|
|
importOrderParserPlugins: ['typescript', 'jsx', 'decorators-legacy'],
|
|
importOrderTypeScriptVersion: '4.4.0',
|
|
tailwindConfig: './packages/ui/tailwind.config.js',
|
|
plugins: ['@ianvs/prettier-plugin-sort-imports', 'prettier-plugin-tailwindcss']
|
|
};
|