We're trying to use Tailwind's official prettier plugin to sort our tailwind classes.
We run npx prettier --check file_path. But it formats the entire code and its opinionated formatting is not what we want.
We only want to use its tailwind plugin.
Here's our prettier.config.js file:
module.exports = {
plugins: [require('prettier-plugin-tailwindcss')],
}
Is it possible that we only run the rules of this plugin on our code files and prevent the rest of it from being applied?