class Overcommit::Hook::PreCommit::YarnCheck

Check if local yarn.lock matches package.json when either changes, unless yarn.lock is ignored by git.

@see yarnpkg.com/en/docs/cli/check