Understand mandatory error checks in docker-compose-linter
mainBefore applying any specific linting rules, docker-compose-linter performs mandatory structural checks. If these checks fail, the linter will stop and report an error to prevent analyzing improperly structured files.
There are two primary mandatory error categories:
- Invalid YAML: Occurs when the target file is not a valid YAML document.
- Invalid Schema: Occurs when the YAML is valid, but does not conform to the expected Docker Compose schema structure.