mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-03-11 17:49:25 -05:00
Updates codespell configuration
Updates the codespell pre-commit hook configuration to correctly skip JavaScript files. This prevents false positives and ensures accurate spell checking.
This commit is contained in:
@@ -38,8 +38,8 @@ repos:
|
||||
hooks:
|
||||
- id: codespell
|
||||
name: "Global: Check for common misspellings"
|
||||
args: ["--skip", "*.json,*.bib,*.min.js,*.tex,_site,_book,node_modules,.venv,htmlcov,bundle.js,glightbox.min.js", "--ignore-words", ".codespell-ignore-words.txt"]
|
||||
exclude: "^(_site/|_book/|htmlcov/|.*bundle\\.js$|.*\\.min\\.js$)"
|
||||
args: ["--skip", "*.json,*.bib,*.js,*.tex,_site,_book,node_modules,.venv,htmlcov", "--ignore-words", ".codespell-ignore-words.txt"]
|
||||
exclude: "^(_site/|_book/|htmlcov/|.*\\.js$)"
|
||||
|
||||
# ===========================================================================
|
||||
# SECTION 2: BOOK HOOKS (quarto content validation)
|
||||
|
||||
Reference in New Issue
Block a user