Chore: add pre-commit hook for codespell (#5324)

This commit is contained in:
shamoon authored and GitHub committed 2024-01-08 13:03:05 -08:00
1 parent 58bf9c552b
commit f525ac0af6
33 files changed
+60 -53

No files matched your search

@@ -53,7 +53,7 @@ export class LocalizedDateParserFormatter extends NgbDateParserFormatter {
if (this.separatorRegExp.test(value)) {
let segments = value.split(this.separatorRegExp)
// always accept strict yyyy*mm*dd format even if thats not the input format since we can be certain its not yyyy*dd*mm
// always accept strict yyyy*mm*dd format even if that's not the input format since we can be certain its not yyyy*dd*mm
if (
value.length == 10 &&
segments.length == 3 &&