Configure perlcritic

This commit is contained in:
swagg boi 2022-10-05 00:58:14 -04:00
parent f60362ee65
commit 58898abd20
3 changed files with 3 additions and 2 deletions

1
.perlcriticrc Normal file
View file

@ -0,0 +1 @@
exclude = Subroutines::ProhibitSubroutinePrototypes

View file

@ -35,7 +35,6 @@ Run the tests locally (against development environment):
1. Bump button/counter
1. Some sort of admin/moderator login and view
1. CSS
1. Configure `perlcritic`
## Crazy future ideas

View file

@ -3,7 +3,8 @@
# PostText v0.1
# Jul 22
use Mojo::File qw(curfile);
use v5.34;
use Mojo::File qw{curfile};
use lib curfile->dirname->sibling('lib')->to_string;
use Mojolicious::Commands;