From a4096d8c5adfed9bd53dd3e958a9e948430172e1 Mon Sep 17 00:00:00 2001 From: smac89 <8305511+smac89@users.noreply.github.com> Date: Wed, 22 Nov 2023 11:01:45 -0600 Subject: [PATCH] prettier ignore lib folder --- .prettierignore | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .prettierignore diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..c3af857 --- /dev/null +++ b/.prettierignore @@ -0,0 +1 @@ +lib/ diff --git a/package.json b/package.json index cedd58c..120698f 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "scripts": { "watch": "ncc build src/index.ts --watch", "build": "ncc build src/index.ts --license LICENSE --minify --out lib", - "lint": "tsc && tsc -p ./tests", + "lint": "prettier --check . && tsc && tsc -p ./tests", "format": "prettier --write .", "test": "jest" },