Use prettier also for *.js and *.jsx files

Change-Id: I46190f70ce05148c565222d53bc9ae3e862464bf
This commit is contained in:
Manuel Stahl 2020-02-19 16:29:21 +01:00
parent 765aa66188
commit 475aa11f06
1 changed files with 1 additions and 1 deletions

View File

@ -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",