Subject: | CodeLayout::RequireTidyCode relative perltidyrc file |
It would be nice if in CodeLayout::RequireTidyCode the perltidyrc file
options would make a relative file relative to where the perlcriticrc
file is (if it was specified using a perlcriticrc file). This way I can
have a perlcriticrc and a perltidyrc file in my project's root.
$ pwd
/home/doug/my-project/
$ ls
perlcritic.rc perltidy.rc
$ cat percritic.rc
[CodeLayout::RequireTidyCode]
perltidyrc = perltidy.rc
And then this would cause Perl::Critic::CodeLayout::RequireTidyCode to
change the path of percritic.rc to the absolute
/home/doug/my-project/perltidy.rc