Sha256: f3ba6506297f4f4b6266eced0219a4b45a1a85cdf35e904ba6b2ba6a1703aba0

Contents?: true

Size: 843 Bytes

Versions: 2

Compression:

Stored size: 843 Bytes

Contents

# Enforce Valid YAML (`ValidYaml`)

This check ensures that YAML files in the app are valid and aims to eliminate errors in these files.

## Examples

The following examples show code snippets that either fail or pass this check:

### ✗ Incorrect Code Example (Avoid using this):

```yaml
---
hello: world
invalid
```

### ✓ Correct Code Example (Use this instead):

```yaml
---
hello: world
invalid:
```

## Configuration Options

The default configuration for this check:

```yaml
Validyaml:
  enabled: true
```

## Disabling This Check

Disabling this check is not recommended.

## Version

This check has been introduced in platformOS Check 0.0.1.

## Resources

- [Rule Source][codesource]
- [Documentation Source][docsource]

[codesource]: /lib/platformos_check/checks/valid_yaml.rb
[docsource]: /docs/checks/valid_yaml.md

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
platformos-check-0.4.14 docs/checks/valid_yaml.md
platformos-check-0.4.13 docs/checks/valid_yaml.md