#!/usr/bin/env bash

is_yaml() {
  [ "$2" == "yaml" ] || [ "$2" == "yaml" ]
}

lint_yaml() {
  ruby -e "require 'yaml'; YAML.load_file('$1')"
}
