diff options
author | Guillem Jover <guillem@debian.org> | 2017-05-18 00:00:38 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2017-05-20 05:21:33 +0200 |
commit | 27d8ebdbe3e106d2d16c37e9e3e4271308aab17a (patch) | |
tree | 301db2d4f86642c636ea313c10b3d746af7d13c6 /t/critic/perlcriticrc | |
parent | dd3cdbaf21841205a47d980a6678672973847d10 (diff) | |
download | dpkg-27d8ebdbe3e106d2d16c37e9e3e4271308aab17a.tar.gz |
test: Enable perlcritic Documentation::RequirePodSections
Declare the minimum required POD sections.
Diffstat (limited to 't/critic/perlcriticrc')
-rw-r--r-- | t/critic/perlcriticrc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/t/critic/perlcriticrc b/t/critic/perlcriticrc index 8dabccd86..308cc048e 100644 --- a/t/critic/perlcriticrc +++ b/t/critic/perlcriticrc @@ -7,6 +7,10 @@ program-extensions = .pl .t ## Tune tests ## +[Documentation::RequirePodSections] +lib_sections = NAME | DESCRIPTION | CHANGES +script_sections = NAME | SYNOPSIS | DESCRIPTION + [RegularExpressions::ProhibitUnusualDelimiters] allow_all_brackets = 1 @@ -39,9 +43,6 @@ allow_if_string_contains_single_quote = 1 # FIXME: Bogus check. [-Documentation::RequirePodLinksIncludeText] -# TODO: Standardize sections, but the ones from this are not usable. -[-Documentation::RequirePodSections] - # Too many false positives. [-CodeLayout::RequireTidyCode] |