NAME
Git::Lint::Check::Commit::Whitespace - check for line ending whitespace
SYNOPSIS
my $plugin = Git::Lint::Check::Commit::Whitespace->new();
my $input = $plugin->diff();
my @lines = @{$input};
my @issues = $plugin->check( \@lines );
DESCRIPTION
Git::Lint::Check::Commit::Whitespace
is a Git::Lint::Check::Commit
module which checks git diff input for line ending whitespace.
METHODS
- check
-
Method that defines the check subref and passes it to
Git::Lint::Check::Commit
's parse method.