From 088e144b8d7e61cbe337a5241d4c47463fba4c19 Mon Sep 17 00:00:00 2001 From: Jakub Stasiak Date: Fri, 3 May 2024 15:01:15 +0200 Subject: [PATCH] Only format some files with Prettier There's a bumch of stuff we don't want Prettier to touch (the documentation etc.), at least at this stage. Let's be explicit. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4ab7849..76ef63d 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "build:copy": "cp package-cjs.json dist/cjs/package.json && cp package-esm.json dist/esm/package.json", "clean": "rm -rf dist", "test": "jest", - "format": "prettier . --write" + "format": "prettier src test tsconfig* package.json package-cjs.json package-esm.json --write" }, "main": "dist/cjs/index.js", "module": "dist/esm/index.js",