From bd08b37e2d56014f29f7b9ffcbf90a1c414df017 Mon Sep 17 00:00:00 2001 From: plouc Date: Thu, 5 Nov 2020 21:51:41 +0900 Subject: [PATCH] feat(fmt): add missing tsx extension when checking formatting --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 272cea9c70..7a1f761b05 100644 --- a/Makefile +++ b/Makefile @@ -65,7 +65,7 @@ fmt: ##@0 global format code using prettier (js, css, md) fmt-check: ##@0 global check if files were all formatted using prettier @echo "${YELLOW}Checking formatting${RESET}" @./node_modules/.bin/prettier --color --list-different \ - "packages/*/{src,stories,tests}/**/*.{js,ts}" \ + "packages/*/{src,stories,tests}/**/*.{js,ts,tsx}" \ "packages/*/index.d.ts" \ "packages/*/README.md" \ "website/src/**/*.{js,css}" \