diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e8f4b444f3c..154823b4601 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -135,6 +135,8 @@ repos: "frontend/test/locales/*.json", "-S", "pnpm-lock.yaml", + "-S", + "styles/**", # Write changes in place "-w", ] @@ -142,6 +144,14 @@ repos: # Support pyproject.toml configuration - tomli + # Use Vale to ensure documentation has a consistent style guide. + - repo: https://github.com/errata-ai/vale + rev: v2.29.0 + hooks: + - id: vale + name: vale + files: ^documentation/.*$ + - repo: local # More local hooks are defined at the top. hooks: - id: types