From bb7ff3239d71dd41657e9cf56ad47536cff2d051 Mon Sep 17 00:00:00 2001 From: Rahul Pratap Date: Tue, 20 Jun 2023 19:50:27 +0530 Subject: [PATCH] Update prettier script. (#16324) * Update prettier script. * Add target and component-spec to prettierignore. --- .prettierignore | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.prettierignore b/.prettierignore index 52455c5e04..63a774714a 100644 --- a/.prettierignore +++ b/.prettierignore @@ -5,3 +5,5 @@ *.shadow-cljs modules result +target +component-spec diff --git a/package.json b/package.json index 0ed7b3a353..a78c92776a 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "app:watch": "shadow-cljs watch android", "app:packager": "react-native start --host 0.0.0.0 --port 8081", "app:android": "react-native run-android", - "prettier": "prettier --write ." + "prettier": "node_modules/.bin/prettier --write ." }, "dependencies": { "@babel/preset-typescript": "^7.17.12",