-
Notifications
You must be signed in to change notification settings - Fork 0
/
.perlcriticrc
34 lines (25 loc) · 977 Bytes
/
.perlcriticrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Original work (c) ECOLE POLYTECHNIQUE FEDERALE DE LAUSANNE, Switzerland, VPSI, 2017-2018.
# Modified work (c) William Belle, 2018-2019.
# See the LICENSE file for more details.
#
# Global settings
#
severity = 1
color = 1
# if tabs are to be forbidden, they should be forbidden everywhere
[CodeLayout::ProhibitHardTabs]
allow_leading_tabs = 0
# it is fine to use camel case
[-NamingConventions::Capitalization]
# no need to check spelling
[-Documentation::PodSpelling]
# it is fine to have documentation before __END__
[-Documentation::RequirePodAtEnd]
# it is fine to use postfix controls
[-ControlStructures::ProhibitPostfixControls]
# POD section
[Documentation::RequirePodSections]
lib_sections = NAME | SYNOPSIS | DESCRIPTION | SUBROUTINES/METHODS | AUTHOR | BUGS AND LIMITATIONS | LICENSE AND COPYRIGHT
script_sections = NAME | DESCRIPTION | USAGE | AUTHOR | BUGS AND LIMITATIONS | LICENSE AND COPYRIGHT
[CodeLayout::RequireTidyCode]
perltidyrc = .perltidyrc