You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a comment is present on the line before a directive, such as use client in Next.js 13, the comment is duplicated after the import statements on each prettier run.
Your Environment
Describe the bug
If a comment is present on the line before a directive, such as
use client
in Next.js 13, the comment is duplicated after the import statements on each prettier run.To Reproduce
Expected behavior
I expect the original file to remain unchanged.
Configuration File (cat .prettierrc, prettier.config.js, .prettier.js)
Contribute to @trivago/prettier-plugin-sort-imports
The text was updated successfully, but these errors were encountered: