Sha256: a8d5a689feb98dbf5e7c7b93f9eeb6401a9f2e629842bd5ae35acd915d23c5fe
Contents?: true
Size: 350 Bytes
Versions: 15
Compression:
Stored size: 350 Bytes
Contents
module Overcommit::Hook::PreCommit # Runs `YAMLLint` against any modified YAML files. # # @see https://github.com/adrienverge/yamllint class YamlLint < Base def run result = execute(command, args: applicable_files) if result.success? :pass else return [:warn, result.stdout] end end end end
Version data entries
15 entries across 13 versions & 2 rubygems