Sha256: 04f1ff6ae78134031c24dde34d88cd37feb1d23b0be625e2a3ba64b6d19e459f
Contents?: true
Size: 284 Bytes
Versions: 5
Compression:
Stored size: 284 Bytes
Contents
module Overcommit::Hook::PreCommit # Runs `jsxhint` against any modified JSX files. class JsxHint < Base def run result = execute([executable] + applicable_files) output = result.stdout return :pass if output.empty? [:fail, output] end end end
Version data entries
5 entries across 5 versions & 2 rubygems