Why are the default prettier, tailwind and postcss configs are in .config.cjs type?
Is there any specific reason to it?
I’ve tried adding rules to prettier.config.cjs, but they didn’t seem to work. Created .prettierrc file, same rules - worked.
I’ve read that .prettierrc takes priority over .config.cjs file.
So one of the assumptions - this choice was made so it’s simple for us to override the styles? But it doesn’t really make sense IMO, so looking for more sensible answers 🙂
0 Replies