Git::Lint::Check::Message::SummaryLength - check summary length
my $plugin = Git::Lint::Check::Message::SummaryLength->new(); my $input = $plugin->message( file => $filepath ); my @lines = @{$input}; my @issues = $plugin->check( \@lines );
Git::Lint::Check::Message::SummaryLength is a Git::Lint::Check::Message module which checks git commit message input to ensure the summary line is 50 characters or less.
Git::Lint::Check::Message::SummaryLength
Git::Lint::Check::Message
To install Git::Lint, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Git::Lint
CPAN shell
perl -MCPAN -e shell install Git::Lint
For more information on module installation, please visit the detailed CPAN module installation guide.