From 475aa11f0678957af1a672c65de0a12d0b7575fc Mon Sep 17 00:00:00 2001 From: Manuel Stahl Date: Wed, 19 Feb 2020 16:29:21 +0100 Subject: [PATCH] Use prettier also for *.js and *.jsx files Change-Id: I46190f70ce05148c565222d53bc9ae3e862464bf --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d15cdb9..0d49bed 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "fix:other": "yarn prettier --write", "fix:code": "yarn test:lint --fix", "fix": "yarn fix:code && yarn fix:other", - "prettier": "prettier \"**/*.{json,md,scss,yaml,yml}\"", + "prettier": "prettier \"**/*.{js,jsx,json,md,scss,yaml,yml}\"", "test:code": "react-scripts test", "test:lint": "eslint --ignore-path .gitignore --ext .js,.jsx .", "test:style": "yarn prettier --list-different",