Sha256: 8566f17c1f65100910afb9dd85acd6d32996a2004f2177d30a8f746a975955a8

Contents?: true

Size: 776 Bytes

Versions: 23

Compression:

Stored size: 776 Bytes

Contents

# Enforce valid YAML (`ValidYaml`)

This check exists to prevent invalid Yaml files in app.

## Check Details

This check is aimed at eliminating errors in YAML files.

:-1: Examples of **incorrect** code for this check:

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

:+1: Examples of **correct** code for this check:

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

## Check Options

The default configuration for this check is the following:

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

## When Not To Use It

It is not safe to disable this rule.

## 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

23 entries across 23 versions & 1 rubygems

Version Path
platformos-check-0.4.12 docs/checks/valid_yaml.md
platformos-check-0.4.11 docs/checks/valid_yaml.md
platformos-check-0.4.10 docs/checks/valid_yaml.md
platformos-check-0.4.9 docs/checks/valid_yaml.md
platformos-check-0.4.8 docs/checks/valid_yaml.md
platformos-check-0.4.7 docs/checks/valid_yaml.md
platformos-check-0.4.6 docs/checks/valid_yaml.md
platformos-check-0.4.5 docs/checks/valid_yaml.md
platformos-check-0.4.4 docs/checks/valid_yaml.md
platformos-check-0.4.3 docs/checks/valid_yaml.md
platformos-check-0.4.2 docs/checks/valid_yaml.md
platformos-check-0.4.1 docs/checks/valid_yaml.md
platformos-check-0.4.0 docs/checks/valid_yaml.md
platformos-check-0.3.3 docs/checks/valid_yaml.md
platformos-check-0.3.1 docs/checks/valid_yaml.md
platformos-check-0.3.0 docs/checks/valid_yaml.md
platformos-check-0.2.2 docs/checks/valid_yaml.md
platformos-check-0.2.1 docs/checks/valid_yaml.md
platformos-check-0.2.0 docs/checks/valid_yaml.md
platformos-check-0.1.0 docs/checks/valid_yaml.md