repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.1.0 # Use the ref you want to point at hooks: - id: check-yaml - id: trailing-whitespace args: [--markdown-linebreak-ext=md]