From 8f1ef82e0355cfdea4b31bfb076f3ece2f073de8 Mon Sep 17 00:00:00 2001 From: Sergei Maertens Date: Mon, 25 Nov 2024 14:42:39 +0100 Subject: [PATCH] :hammer: Ensure prettier checks jsx files --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 0c7e8db82..2df630433 100644 --- a/package.json +++ b/package.json @@ -81,8 +81,8 @@ "build:design-tokens": "npm run build --workspace=design-tokens", "storybook": "storybook dev -p 6006", "build:storybook": "storybook build --webpack-stats-json", - "format": "prettier --write 'src/**/*.{js,scss,mdx}'", - "checkformat": "prettier --check 'src/**/*.{js,scss,mdx}'" + "format": "prettier --write 'src/**/*.{js,jsx,scss,mdx}'", + "checkformat": "prettier --check 'src/**/*.{js,jsx,scss,mdx}'" }, "workspaces": [ "design-tokens"