prettier-plugin-sort-imports icon indicating copy to clipboard operation
prettier-plugin-sort-imports copied to clipboard

chore: Update `README` for `prettier` v3.x

Open basselworkforce opened this issue 2 years ago • 1 comments
trafficstars

While testing with prettier v3 I found that it is now necessary to add the plugin to the config with npm (when I never had to before) as per:

module.exports = {
    ...
    "plugins": ["@trivago/prettier-plugin-sort-imports"]
}

https://github.com/trivago/prettier-plugin-sort-imports#usage

basselworkforce avatar Jul 21 '23 14:07 basselworkforce

Confirmed - same for me.

I got warnings about unknown config options and at first I thought this was the issue, but it was because the plugin was no longer auto loaded.

lukeapage avatar Jul 24 '23 07:07 lukeapage