From ca36fef54cfa7c9fed30a5c5735becf21a5d82cc Mon Sep 17 00:00:00 2001 From: phntxx Date: Mon, 11 Apr 2022 19:13:43 +0200 Subject: [PATCH] Make "format" independent from "prettier" --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6140c37..394f1e9 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "eject": "react-scripts eject", "lint": "eslint --config .eslintrc.js", "prettier": "prettier --config .prettierrc.js '{data,src}/**/*.{json,ts,tsx}'", - "format": "yarn prettier -w", + "format": "prettier -w --config .prettierrc.js '{data,src}/**/*.{json,ts,tsx}'", "http-server:data": "http-server ./ -c-1", "http-server:app": "http-server ./build --proxy http://localhost:8080 --port 3000", "serve:production": "npm-run-all --parallel http-server:data http-server:app"