Skip to content

Commit

Permalink
pre-commit: add spelling (#187)
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Nino [email protected]

Description: add spelling pre-commit hook. Note that I did not go with the tools in upstream because they are more entrenched in the organization of the upstream project. This suffices for now. Also note that none of the solutions (this one, or the ones upstream -- misspell, aspell) are 100% great; meaning that let through a significant amount of misspellings. For instance, enfornced was not caught by any of the solutions.
Risk Level: low -- new pre-commit hook.
Testing: ran locally.

Signed-off-by: JP Simard <[email protected]>
  • Loading branch information
junr03 authored and jpsim committed Nov 28, 2022
1 parent 4c64f85 commit f701cd5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mobile/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@ repos:
- id: check-yaml
- id: detect-private-key
- id: mixed-line-ending
- repo: https://github.com/codespell-project/codespell
rev: v1.15.0
hooks:
- id: codespell

0 comments on commit f701cd5

Please sign in to comment.