how do you add `prettier-plugin-tailwindcss` to an existing ct3a app?

ive installed the plugin (pnpm add -D prettier prettier-plugin-tailwindcss). docs say plugins aren't automatically used from node_modules with yarn or pnpm, so need to make a prettier.config.js, but eslint doesn't like that:
Parsing error: "parserOptions.project" has been set for @typescript-eslint/parser. The file does not match your project config: prettier.config.js. The file must be included in at least one of the projects provided.
3 Replies
Samathingamajig
SamathingamajigOP3y ago
actually its working... eslint just being dumb
nexxel
nexxel3y ago
make it prettier.config.cjs and eslint won't be dumb
Samathingamajig
SamathingamajigOP3y ago
👍
Want results from more Discord servers?
Add your server