Reverted RegEx on Prettier Script

This commit is contained in:
Ralph 2018-03-30 17:28:16 -04:00 committed by GitHub
parent 0449daefd0
commit e693dd5528
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,11 +19,11 @@
"wget": "^0.0.1"
},
"scripts": {
"prettier": "prettier --write * --single-quote --print-width 240",
"prettier": "prettier --write '{bot,.}/**/*.{js,json}' --single-quote --print-width 240",
"build": "babel bot -d dist",
"prod": "babel bot -d dist & node dist/bot.js",
"lint": "prettier --write bot/**/*.js --single-quote --print-width 240",
"precommit": "prettier --write bot/**/*.js --single-quote true --print-width 240"
"lint": "prettier --write '{bot,.}/**/*.{js,json}' --single-quote --print-width 240",
"precommit": "prettier --write '{bot,.}/**/*.{js,json}' --single-quote --print-width 240"
},
"devDependencies": {
"husky": "^0.14.3",