Use the prettier config file

This commit is contained in:
cmdr2 2023-04-29 07:14:42 +05:30
parent 0ebad77083
commit e550b15094

View File

@ -1,7 +1,7 @@
{
"scripts": {
"prettier-fix": "npx prettier --write \"./**/*.js\"",
"prettier-check": "npx prettier --check \"./**/*.js\""
"prettier-fix": "npx prettier --write \"./**/*.js\" --config .prettierrc.json",
"prettier-check": "npx prettier --check \"./**/*.js\" --config .prettierrc.json"
},
"devDependencies": {
"prettier": "^1.19.1"