From 9be8901909da1412217848543a6e92ba55036296 Mon Sep 17 00:00:00 2001 From: Hiroki OTA Date: Wed, 2 Feb 2022 10:12:55 +0900 Subject: [PATCH] chore: add yamllint rules for braces (#39) * feat: add yamllint rules for braces and brackets Signed-off-by: h-ohta * fix: delete brackets rule Signed-off-by: h-ohta * chore: add comment Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com> * chore: update comment Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com> Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com> --- .yamllint.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.yamllint.yaml b/.yamllint.yaml index 1d4ee33ecacc0..6228c70f02da9 100644 --- a/.yamllint.yaml +++ b/.yamllint.yaml @@ -5,6 +5,9 @@ ignore: | *.param.yaml rules: + braces: + level: error + max-spaces-inside: 1 # To format with Prettier comments: level: error min-spaces-from-content: 1 # To be compatible with C++ and Python