aboutsummaryrefslogtreecommitdiff
path: root/.prettierrc.js
blob: 5eaa8c71a9d0d81b9c652e73a8a0a5d71a9fba2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/** @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)(/.*)?$',
		'^~/',
		'^\\.'
	],
	importOrderParserPlugins: ['importAssertions', 'typescript', 'jsx'],
	plugins: ['@ianvs/prettier-plugin-sort-imports', 'prettier-plugin-tailwindcss'],
	tailwindConfig: './packages/ui/tailwind.config.js'
};