Skip to content

Commit

Permalink
fix: ns config set failure with prettier plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
rigor789 committed Jun 28, 2024
1 parent a64f25b commit 67e68c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/services/project-config-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,9 @@ export default {
prettierFormat(newContent, {
...prettierOptions,
parser: "typescript",
// note: we don't use plugins here, since we are only formatting ts files, and they are supported by default
// and this also causes issues with certain plugins, like prettier-plugin-tailwindcss.
plugins: [],
})
);
} catch (error) {
Expand Down

0 comments on commit 67e68c6

Please sign in to comment.