From 1e624909c50af9188850ce1a367dd578a5d7a3c1 Mon Sep 17 00:00:00 2001 From: Daniel Lautzenheiser Date: Tue, 6 Dec 2022 09:51:40 -0500 Subject: [PATCH] chore: update lint staged patterns --- core/package.json | 3 ++- docs/package.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/core/package.json b/core/package.json index 3526de93..16b566a5 100644 --- a/core/package.json +++ b/core/package.json @@ -257,6 +257,7 @@ "registry": "https://registry.npmjs.org" }, "lint-staged": { - "*.[jt]sx?": "prettier --write" + "*.ts": "prettier --write", + "*.tsx": "prettier --write" } } diff --git a/docs/package.json b/docs/package.json index 4d3d07b0..8000f50e 100644 --- a/docs/package.json +++ b/docs/package.json @@ -57,6 +57,7 @@ "webpack": "5.75.0" }, "lint-staged": { - "*.[jt]sx?": "prettier --write" + "*.ts": "prettier --write", + "*.tsx": "prettier --write" } }