From b4040331af52119240b108b5e765863d3a3804c7 Mon Sep 17 00:00:00 2001 From: snolan-uturn <50503078+snolan-uturn@users.noreply.github.com> Date: Wed, 29 Apr 2020 14:54:04 -0500 Subject: [PATCH] Update the docs to use the latest config syntax Added the top-level repos map that was introduced in pre-commit 1.0.0. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 24a49de56..5fdaf034c 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,7 @@ Step into the repository you want to have the pre-commit hooks installed and run ```bash git init cat < .pre-commit-config.yaml +repos: - repo: git://github.com/antonbabenko/pre-commit-terraform rev: # Get the latest from: https://github.com/antonbabenko/pre-commit-terraform/releases hooks: