From 4ded08b5e46f03937b7e4ef884ae0dd5bba2c21c Mon Sep 17 00:00:00 2001 From: Steve Dignam Date: Wed, 2 Apr 2025 18:20:41 -0400 Subject: [PATCH] docs: update readme with yaml --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0c4c71c9..da570443 100644 --- a/README.md +++ b/README.md @@ -173,13 +173,13 @@ See the ["GitHub Integration" docs](https://squawkhq.com/docs/github_app) for mo Integrate Squawk into Git workflow with [pre-commit](https://pre-commit.com/). Add the following to your project's `.pre-commit-config.yaml`: -``` +```yaml repos: - repo: https://github.com/sbdchd/squawk rev: v0.10.0 hooks: - - id: squawk - files: path/to/postgres/migrations/written/in/sql + - id: squawk + files: path/to/postgres/migrations/written/in/sql ``` Note the `files` parameter as it specifies the location of the files to be linted.