-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ci] add yaml files linter to pre-commit hook but skip some rules for…
… now (Part 1) (#6763) Co-authored-by: James Lamb <[email protected]>
- Loading branch information
1 parent
0be894d
commit e0c34e7
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# default config: https://yamllint.readthedocs.io/en/stable/configuration.html#default-configuration | ||
extends: default | ||
|
||
rules: | ||
document-start: disable | ||
line-length: | ||
max: 999 # temporarily increase allowed line length | ||
truthy: | ||
# prevent treating GitHub Workflow "on" key as boolean value | ||
check-keys: false | ||
|
||
# temporarily disabled rules | ||
indentation: disable | ||
comments-indentation: disable |