We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d16e201 commit a405793Copy full SHA for a405793
packages/prettier-config-svelte/README.md
@@ -19,14 +19,19 @@ pnpm add --save-dev prettier @viamrobotics/prettier-config-svelte
19
export default '@viamrobotics/prettier-config-svelte';
20
```
21
22
-You can also extend the configuration:
+If the project is inside a monorepo, you'll need to specify the path to your Tailwind config.
23
24
```js
25
// prettier.config.js
26
+import path from 'node:path';
27
+
28
import baseConfig from '@viamrobotics/prettier-config-svelte';
29
-export default {
30
+/** @satisfies {import('prettier').Config} */
31
+const config = {
32
...baseConfig,
- // other options here
33
+ tailwindConfig: path.join(import.meta.dirname, 'tailwind.config.ts'),
34
};
35
36
+export default config;
37
0 commit comments