The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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.