YAML
Linters
Linter | Additional |
---|---|
prettier YAML_PRETTIER |
|
yamllint YAML_YAMLLINT |
|
v8r YAML_V8R |
Linted files
- File extensions:
.yml
.yaml
Configuration in MegaLinter
Variable | Description | Default value |
---|---|---|
YAML_PRE_COMMANDS | List of bash commands to run before the linters | None |
YAML_POST_COMMANDS | List of bash commands to run after the linters | None |
YAML_FILTER_REGEX_INCLUDE | Custom regex including filter | |
YAML_FILTER_REGEX_EXCLUDE | Custom regex excluding filter |