-
Notifications
You must be signed in to change notification settings - Fork 2k
Expand file tree
/
Copy path.prettierrc.mjs
More file actions
31 lines (31 loc) · 853 Bytes
/
.prettierrc.mjs
File metadata and controls
31 lines (31 loc) · 853 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/** @type {import("prettier").Config & import("prettier-plugin-tailwindcss").PluginOptions} */
export default {
semi: false,
singleQuote: false,
printWidth: 100,
tabWidth: 2,
trailingComma: "all",
objectWrap: "preserve",
plugins: ["prettier-plugin-tailwindcss"],
tailwindConfig: "./apps/desktop/tailwind.config.ts",
overrides: [
{
files: "apps/mobile/**/*.{css,js,jsx,ts,tsx}",
options: {
tailwindConfig: "./apps/mobile/tailwind.config.ts",
},
},
{
files: "apps/mobile/web-app/html-renderer/**/*.{css,js,jsx,ts,tsx}",
options: {
tailwindConfig: "./apps/mobile/web-app/html-renderer/tailwind.config.ts",
},
},
{
files: "apps/ssr/**/*.{css,html,js,jsx,ts,tsx}",
options: {
tailwindConfig: "./apps/ssr/tailwind.config.ts",
},
},
],
}