From 74024a9cfabfac28b7fdc80bd2540346a90f084f Mon Sep 17 00:00:00 2001 From: Daiki Katsuragawa <50144563+daikikatsuragawa@users.noreply.github.com> Date: Tue, 24 Mar 2020 02:30:14 +0900 Subject: [PATCH] Fix yaml formatting in README.md --- README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index b96f44f..ca4eef7 100644 --- a/README.md +++ b/README.md @@ -13,12 +13,13 @@ See also: https://github.com/pre-commit/pre-commit Add this to your `.pre-commit-config.yaml` - - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v2.5.0 # Use the ref you want to point at - hooks: - - id: trailing-whitespace - # - id: ... - +```yaml +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v2.5.0 # Use the ref you want to point at + hooks: + - id: trailing-whitespace + # - id: ... +``` ### Hooks available