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" } }