Content-Length: 256765 | pFad | http://github.com/NativeScript/nativescript-cli/commit/67e68c64aec9fcf180cbb91bcc1bfb1ee897094b

FD fix: `ns config set` failure with prettier plugins · NativeScript/nativescript-cli@67e68c6 · GitHub
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

Lines changed: 3 additions & 0 deletions
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/NativeScript/nativescript-cli/commit/67e68c64aec9fcf180cbb91bcc1bfb1ee897094b

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy