Skip to content

Commit 919ee7f

Browse files
committed
lint(yaml): Only use true and false boolean values
Signed-off-by: 林博仁(Buo-ren Lin) <[email protected]>
1 parent 069f016 commit 919ee7f

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.yamllint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,5 +133,5 @@ rules:
133133
# Use this rule to forbid non-explictly typed truthy values other than `true` and `false`, for example `YES`, `False` and `off`.
134134
# https://yamllint.readthedocs.io/en/stable/rules.html#module-yamllint.rules.truthy
135135
truthy:
136-
level: warning
136+
allowed-values: ['true', 'false']
137137
...

common.markdownlint.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# SPDX-License-Identifier: CC-BY-SA-4.0 OR LicenseRef-Apache-2.0-If-Not-Used-In-Template-Projects
1010

1111
# Inherit Markdownlint rules
12-
default: True
12+
default: true
1313

1414
# Only allow consistent un-ordered list bullet style(allow alternations
1515
# in sub-levels)
@@ -25,20 +25,20 @@ no-trailing-spaces:
2525
br_spaces: 2
2626

2727
# Disable line length limitation(not suitable with CJK context)
28-
line-length: False
28+
line-length: false
2929

3030
# Allow missing padding blank line between the heading markup and the context
31-
blanks-around-headings: False
31+
blanks-around-headings: false
3232

3333
# Allow duplicated non-sibling heading text
3434
no-duplicate-heading:
35-
siblings_only: True
35+
siblings_only: true
3636

3737
# Allow missing padding blank line between a list and its context
38-
blanks-around-lists: False
38+
blanks-around-lists: false
3939

4040
# Allow using raw HTML markups as workarounds of deficiencies of Markdown
41-
no-inline-html: False
41+
no-inline-html: false
4242

4343
# Allow using YAML front matter, while not require the definition of the
4444
# `title` property

0 commit comments

Comments
 (0)