diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 0327cdc..f4c98d5 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -5,5 +5,5 @@ language: node types: ["text"] require_serial: false - additional_dependencies: ["@ast-grep/cli@0.28.1"] + additional_dependencies: ["@ast-grep/cli@0.29.0"] minimum_pre_commit_version: "0" diff --git a/README.md b/README.md index 1b03fb9..a08566f 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Minimal git hook to run [ast-grep](https://github.com/ast-grep/ast-grep) based o Add this to your `.pre-commit-config.yaml`: ``` - repo: https://github.com/boidolr/ast-grep-pre-commit - rev: 0.28.1 # Use the ref you want to point at + rev: 0.29.0 # Use the ref you want to point at hooks: - id: ast-grep ``` @@ -24,7 +24,7 @@ Note that only rules with a severity of "error" will lead to the commit hook fai ``` - repo: https://github.com/boidolr/ast-grep-pre-commit - rev: 0.28.1 + rev: 0.29.0 hooks: - id: ast-grep args: ["--update-all"] @@ -35,7 +35,7 @@ Note that only rules with a severity of "error" will lead to the commit hook fai ``` - repo: https://github.com/boidolr/ast-grep-pre-commit - rev: 0.28.1 + rev: 0.29.0 hooks: - id: ast-grep args: ["--config", "/some/path/sgconfig.yaml"]