Currently for each supported formatters, the rules overrides plugins field from options.prettierOptions. This makes it hard to use any other prettier plugins, such as prettier-plugin-tailwindcss.
Suggested solution
Merge plugins from prettierOptions with final prettier rules, for example:
Clear and concise description of the problem
Currently for each supported formatters, the rules overrides
plugins
field fromoptions.prettierOptions
. This makes it hard to use any other prettier plugins, such asprettier-plugin-tailwindcss
.Suggested solution
Merge
plugins
fromprettierOptions
with final prettier rules, for example:Alternative
Alternative would be this PR, but supporting suggested solution would be easier for most users https://github.com/antfu/eslint-config/pull/592
Additional context
No response
Validations