Skip to content

Commit 67e68c6

Browse files
committed
fix: ns config set failure with prettier plugins
1 parent a64f25b commit 67e68c6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/services/project-config-service.ts

+3
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,9 @@ export default {
289289
prettierFormat(newContent, {
290290
...prettierOptions,
291291
parser: "typescript",
292+
// note: we don't use plugins here, since we are only formatting ts files, and they are supported by default
293+
// and this also causes issues with certain plugins, like prettier-plugin-tailwindcss.
294+
plugins: [],
292295
})
293296
);
294297
} catch (error) {

0 commit comments

Comments
 (0)