lucee-docs icon indicating copy to clipboard operation
lucee-docs copied to clipboard

gha: add `codespell` with `pre-commit`

Open jbampton opened this issue 3 years ago • 1 comments

Add custom dictionary codespell.txt

We are only checking the docs folders

https://github.com/codespell-project/codespell

https://pre-commit.com/

jbampton avatar Nov 09 '22 09:11 jbampton

More hooks can be added in future

"Git hook scripts are useful for identifying simple issues before submission to code review. We run our hooks on every commit to automatically point out issues in code such as missing semicolons, trailing whitespace, and debug statements. By pointing these issues out before code review, this allows a code reviewer to focus on the architecture of a change while not wasting time with trivial style nitpicks."

jbampton avatar Nov 09 '22 10:11 jbampton