use Test2::Require::Module 'Test2::Tools::PerlCritic';
use Test2::Require::Module 'Perl::Critic';
use Test2::Require::Module 'Perl::Critic::Community';
my $critic = Perl::Critic->new(
-profile => 'perlcriticrc',
);
perl_critic_ok ['lib','t'], $critic;
done_testing;