-
Notifications
You must be signed in to change notification settings - Fork 664
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent execution with incompatible yamllint configuration
- Loading branch information
Showing
8 changed files
with
178 additions
and
55 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
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 @@ | ||
# This config file is full of yamllint configuration settings that are | ||
# incompatible with ansible-lint. It used for testing their detection. | ||
rules: | ||
comments: | ||
min-spaces-from-content: 2 | ||
comments-indentation: false | ||
braces: | ||
min-spaces-inside: 1 | ||
max-spaces-inside: 2 | ||
key-duplicates: | ||
forbid-duplicated-merge-keys: false | ||
octal-values: | ||
forbid-implicit-octal: false | ||
forbid-explicit-octal: false |
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,25 @@ | ||
extends: default | ||
rules: | ||
comments: | ||
# https://github.com/prettier/prettier/issues/6780 | ||
min-spaces-from-content: 1 | ||
# https://github.com/adrienverge/yamllint/issues/384 | ||
comments-indentation: false | ||
document-start: disable | ||
# 160 chars was the default used by old E204 rule, but | ||
# you can easily change it or disable in your .yamllint file. | ||
line-length: | ||
max: 160 | ||
# We are adding an extra space inside braces as that's how prettier does it | ||
# and we are trying not to fight other linters. | ||
braces: | ||
min-spaces-inside: 0 # yamllint defaults to 0 | ||
max-spaces-inside: 1 # yamllint defaults to 0 | ||
# key-duplicates: | ||
# forbid-duplicated-merge-keys: true # not enabled by default | ||
octal-values: | ||
forbid-implicit-octal: true # yamllint defaults to false | ||
forbid-explicit-octal: true # yamllint defaults to false | ||
# quoted-strings: | ||
# quote-type: double | ||
# required: only-when-needed |
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
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