diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ae33af7b5..daff307c4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -62,3 +62,13 @@ repos: name: format quarto markdown additional_dependencies: [mdformat-frontmatter] files: ^contents/.*\.qmd$ + + # # ✅ Add Vale for linting prose and enforcing style rules + # - repo: https://github.com/errata-ai/vale + # rev: v2.28.2 # Use latest stable version + # hooks: + # - id: vale + # name: lint with vale + # entry: vale + # files: ^contents/.*\.qmd$ + # types: [text] \ No newline at end of file diff --git a/.vale/styles/textbook/OxfordComma.yml b/.vale/styles/textbook/Punctuation.yml similarity index 99% rename from .vale/styles/textbook/OxfordComma.yml rename to .vale/styles/textbook/Punctuation.yml index 6b3aeb297..f604a3901 100644 --- a/.vale/styles/textbook/OxfordComma.yml +++ b/.vale/styles/textbook/Punctuation.yml @@ -5,5 +5,3 @@ ignorecase: true swap: # Common pattern: list of three items without Oxford comma '(\b\w+\b), (\b\w+\b) and (\b\w+\b)': '\1, \2, and \3' - -