From d8113abd3d572084e9c0f4e046fc25f9aa2f5843 Mon Sep 17 00:00:00 2001 From: IvanZosimov Date: Fri, 3 Mar 2023 13:21:37 +0100 Subject: [PATCH] Update prettier command --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index a9cd3eb..30f5e45 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,8 @@ "main": "lib/setup-go.js", "scripts": { "build": "tsc && ncc build -o dist/setup src/setup-go.ts && ncc build -o dist/cache-save src/cache-save.ts", - "format": "prettier --config ./.prettierrc.js --write **/*.{ts,yml,yaml}", - "format-check": "prettier --config ./.prettierrc.js --check **/*.{ts,yml,yaml}", + "format": "prettier --config --no-error-on-unmatched-pattern ./.prettierrc.js --write **/*.{ts,yml,yaml}", + "format-check": "prettier --config --no-error-on-unmatched-pattern ./.prettierrc.js --check **/*.{ts,yml,yaml}", "lint": "eslint --config ./.eslintrc.js **/*.ts", "lint:fix": "eslint --config ./.eslintrc.js **/*.ts --fix", "test": "jest --coverage",