Use prettier also for *.js and *.jsx files
Change-Id: I46190f70ce05148c565222d53bc9ae3e862464bf
This commit is contained in:
parent
765aa66188
commit
475aa11f06
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user