-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added yaml lint * updated the doc
- Loading branch information
Jeremy Facchetti
authored
May 27, 2022
1 parent
589256f
commit b0f6ff2
Showing
4 changed files
with
53 additions
and
3 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 @@ | ||
# Configuration file for MegaLinter | ||
# See all available variables at https://megalinter.github.io/configuration/ and in linters documentation | ||
|
||
APPLY_FIXES: none | ||
# ENABLE: # If you use ENABLE variable, all other languages/formats/tooling formats will be disabled by default | ||
ENABLE_LINTERS: | ||
- YAML_YAMLLINT # If you use ENABLE_LINTERS variable, all other linters will be disabled by default | ||
EXCLUDED_DIRECTORIES: | ||
- vendor | ||
YAML_YAMLLINT_CONFIG_FILE: .yaml-lint.yml | ||
LINTER_RULES_PATH: . | ||
PRINT_ALPACA: false | ||
GITHUB_STATUS_REPORTER: false | ||
GITHUB_COMMENT_REPORTER: 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,35 @@ | ||
--- | ||
|
||
yaml-files: | ||
- '*.yaml' | ||
- '*.yml' | ||
- '.yamllint' | ||
|
||
ignore: | | ||
vendor/ | ||
*aro.openshift.io*.yaml | ||
rules: | ||
braces: enable | ||
brackets: enable | ||
colons: enable | ||
commas: enable | ||
comments: disable | ||
comments-indentation: disable | ||
document-end: disable | ||
document-start: disable | ||
empty-lines: enable | ||
empty-values: disable | ||
hyphens: enable | ||
indentation: disable | ||
key-duplicates: enable | ||
key-ordering: disable | ||
line-length: disable | ||
new-line-at-end-of-file: enable | ||
new-lines: enable | ||
octal-values: disable | ||
quoted-strings: disable | ||
trailing-spaces: enable | ||
truthy: | ||
level: warning | ||
check-keys: 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