Skip to content

mminks/yaml-lint

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GemVersion TravisBuild Coverage Status

yaml-lint

Simple yaml check tool that checks some more things than the original version. yaml-lint still tries to load the YAML file with the built-in Ruby yaml library and performs some additional checks afterwards.

What it checks

  • correct indentation
  • OK: "key": (or single quotes)
  • NOK: "key:" (or single quotes)
  • OK: key: 'value' (or double quotes)
  • NOK: key: value' (or double quotes)

Install

gem install yaml-lint

Usage

Check a file

yaml-lint filename.yaml

Check a complete folder

yaml-lint hiera/

About

Simple yaml check tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%