diff --git a/package.json b/package.json index 34112a2d0c3624..fb1a0751a7a9c3 100644 --- a/package.json +++ b/package.json @@ -287,14 +287,14 @@ "*.scss": [ "wp-scripts lint-style" ], - "*.{js,ts}": [ + "*.{js,ts,tsx}": [ "wp-scripts format-js", "wp-scripts lint-js" ], "{docs/{toc.json,tool/*.js},packages/{*/README.md,components/src/*/**/README.md}}": [ "node ./docs/tool/index.js" ], - "packages/**/*.{js,ts}": [ + "packages/**/*.{js,ts,tsx}": [ "node ./bin/api-docs/update-api-docs.js", "node ./bin/api-docs/are-api-docs-unstaged.js", "node ./bin/packages/lint-staged-typecheck.js"