Skip to content

Commit

Permalink
chore: add yamllint rules for braces (tier4#39)
Browse files Browse the repository at this point in the history
* feat: add yamllint rules for braces and brackets

Signed-off-by: h-ohta <[email protected]>

* fix: delete brackets rule

Signed-off-by: h-ohta <[email protected]>

* chore: add comment

Co-authored-by: Kenji Miyake <[email protected]>

* chore: update comment

Co-authored-by: Kenji Miyake <[email protected]>

Co-authored-by: Kenji Miyake <[email protected]>
  • Loading branch information
h-ohta and kenji-miyake authored Feb 2, 2022
1 parent 8a07baa commit 9be8901
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .yamllint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9be8901

Please sign in to comment.