aboutsummaryrefslogtreecommitdiff
path: root/.prettierrc.js
blob: c223c9bbf4723469d9b66e2f3c8ff000626a5a44 (plain)
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: ['<THIRD_PARTY_MODULES>', '^@polyfrost/(interface|client|ui)(/.*)?$', '^~/', '^\\.'],
	importOrderSortSpecifiers: true,
	importOrderParserPlugins: ['importAssertions', 'typescript', 'jsx'],
	pluginSearchDirs: false,
	plugins: ['@ianvs/prettier-plugin-sort-imports', 'prettier-plugin-tailwindcss'],
	tailwindConfig: './packages/ui/tailwind.config.js'
}