Add prettier:check back into npm test, and also run prettier:fix against the devel branch.

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
Adam Warner
2021-11-09 19:48:56 +00:00
parent 14d44f25d5
commit b43eea7050
3 changed files with 275 additions and 209 deletions

View File

@@ -20,7 +20,7 @@
"prettier:fix": "prettier --write \"style/*.css\" \"style/themes/*.css\" \"scripts/pi-hole/**/*.js\"",
"xo": "xo",
"xo:fix": "npm run xo -- --fix",
"test": "npm run xo"
"test": "npm run prettier:check && npm run xo"
},
"devDependencies": {
"autoprefixer": "^10.3.7",