[Koha-bugs] [Bug 30002] Add project-level perltidyrc

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 1 10:56:56 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30002

--- Comment #24 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Suggestion addition for the wiki at
https://wiki.koha-community.org/wiki/Coding_Guidelines#PERL1:_Perltidy

"""
The code must be tidy using perltidy and the .perltidyrc file presents at the
root of the Koha directory.
You must run perltidy on any new perl files added.
When you add changes to existing files you should consider setting your code
editor accordingly.
For vim you can add the following line to you `.vimrc`: `vmap <F8> :!perltidy
-q<CR>`
Then switch to visual move (ctrl+v), select a block and press F8.
"""

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list