Update prettier command

This commit is contained in:
IvanZosimov 2023-03-03 13:21:37 +01:00
parent 2ed96f5f0a
commit d8113abd3d

View file

@ -6,8 +6,8 @@
"main": "lib/setup-go.js", "main": "lib/setup-go.js",
"scripts": { "scripts": {
"build": "tsc && ncc build -o dist/setup src/setup-go.ts && ncc build -o dist/cache-save src/cache-save.ts", "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": "prettier --config --no-error-on-unmatched-pattern ./.prettierrc.js --write **/*.{ts,yml,yaml}",
"format-check": "prettier --config ./.prettierrc.js --check **/*.{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": "eslint --config ./.eslintrc.js **/*.ts",
"lint:fix": "eslint --config ./.eslintrc.js **/*.ts --fix", "lint:fix": "eslint --config ./.eslintrc.js **/*.ts --fix",
"test": "jest --coverage", "test": "jest --coverage",