1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/** @type {import('prettier').Config} */
module.exports = {
useTabs: true,
printWidth: 100,
singleQuote: true,
trailingComma: 'none',
bracketSameLine: false,
semi: true,
quoteProps: 'consistent',
importOrder: ['^([A-Za-z]|@[^s/])', '^@polyfrost/(interface|client|ui)(/.*)?$', '^~/', '^\\.'],
importOrderSortSpecifiers: true,
importOrderParserPlugins: ['importAssertions', 'typescript', 'jsx'],
pluginSearchDirs: false,
plugins: ['@trivago/prettier-plugin-sort-imports', 'prettier-plugin-tailwindcss'],
tailwindConfig: './packages/ui/tailwind.config.js'
}
|