bug: 2269 - adding a perltidyrc file
authorAndrew Moore <andrew.moore@liblime.com>
Mon, 23 Jun 2008 17:55:31 +0000 (12:55 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Wed, 25 Jun 2008 16:47:30 +0000 (11:47 -0500)
commitc0279eab5f40b55c5cd67653be720042896eba3d
tree823f6383f17f64e52ade0a8c8e0c4388b19e3173
parent06720cd3cf8c10a0d9079abb7cf408b356b6cd66
bug: 2269 - adding a perltidyrc file

This patch adds xt/perltidyrc, a suggested perltidy configuration file.

It's in the xt directory because I'd like to eventually tie it in with Test::Perl::Critic
to run automated tests on tidyness and other Perl::Critic policies. That stuff belongs in
the xt directory since it's testing for developers use only.

I have only turned on a few directives based on the suggestions by MJ, historical discussion on
the mailing lists, and what I was told when I started contributing to koha. There are many other
directives in this file that are commented out. They are supposed to represent the defaults and
can be adjusted in the future if desired.

Use of this file is encouraged, but not required. It would be really nice if you could at least run
it on new files that you contribute. I would recommend not running it on files that are already
part of koha without writing some tests for those files and discussing your intentions to reformat
entire files in bulk.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
xt/perltidyrc [new file with mode: 0644]