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
+1 -1
View File
@@ -20,7 +20,7 @@
"prettier:fix": "prettier --write \"style/*.css\" \"style/themes/*.css\" \"scripts/pi-hole/**/*.js\"", "prettier:fix": "prettier --write \"style/*.css\" \"style/themes/*.css\" \"scripts/pi-hole/**/*.js\"",
"xo": "xo", "xo": "xo",
"xo:fix": "npm run xo -- --fix", "xo:fix": "npm run xo -- --fix",
"test": "npm run xo" "test": "npm run prettier:check && npm run xo"
}, },
"devDependencies": { "devDependencies": {
"autoprefixer": "^10.3.7", "autoprefixer": "^10.3.7",
+2 -1
View File
@@ -3470,7 +3470,8 @@ a:focus {
background-image: none; background-image: none;
color: rgb(168, 160, 149); color: rgb(168, 160, 149);
} }
.nav-tabs-custom > .nav-tabs > li > a:focus, .nav-tabs-custom > .nav-tabs > li.active > a:focus { .nav-tabs-custom > .nav-tabs > li > a:focus,
.nav-tabs-custom > .nav-tabs > li.active > a:focus {
color: rgb(95, 142, 170); color: rgb(95, 142, 170);
} }
+269 -204
View File
File diff suppressed because it is too large Load Diff