@digitoimistodude/code-quality-checks 2.0.2 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.husky/commit-msg +1 -1
- package/README.md +1 -1
- package/package.json +1 -1
package/.husky/commit-msg
CHANGED
|
@@ -92,7 +92,7 @@ if [ -f "$commit_msg_file" ]; then
|
|
|
92
92
|
changelog_first_line=$(head -n 1 CHANGELOG.md)
|
|
93
93
|
current_date=$(date +%Y-%m-%d)
|
|
94
94
|
if ! echo "$changelog_first_line" | grep -q "$current_date"; then
|
|
95
|
-
echo "${GREEN}║${NC} ${GREEN}• Consider updating changelog date to $current_date${NC}$(printf '%*s'
|
|
95
|
+
echo "${GREEN}║${NC} ${GREEN}• Consider updating changelog date to $current_date${NC}$(printf '%*s' 9 '')${GREEN}║${NC}"
|
|
96
96
|
fi
|
|
97
97
|
fi
|
|
98
98
|
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Code quality checks
|
|
2
2
|
|
|
3
|
-
[](#)
|
|
3
|
+
[](#) [](https://www.npmjs.com/package/@digitoimistodude/code-quality-checks)
|
|
4
4
|
|
|
5
5
|
Dude's comprehensive code quality definitions and pre-commit hooks for WordPress projects.
|
|
6
6
|
|