Update tidyall, and perltidy config files and mostly remove perlcriticrc
Dave Rolsky
3 years ago
0 | 0 |
severity = 3
|
1 | 1 |
verbose = 11
|
2 | |
theme = core + pbp + bugs + maintenance + cosmetic + complexity + security + tests + moose
|
|
2 |
theme = (core && (pbp || bugs || maintenance || cosmetic || complexity || security || tests)) || moose
|
3 | 3 |
program-extensions = pl psgi t
|
4 | 4 |
|
5 | 5 |
exclude = Subroutines::ProhibitCallsToUndeclaredSubs
|
|
64 | 64 |
# prevents very common errors when using a sub in list context to construct a
|
65 | 65 |
# hash and ending up with a missing value or key.
|
66 | 66 |
[-Subroutines::ProhibitExplicitReturnUndef]
|
|
67 |
|
|
68 |
# Sometimes I want to write "return unless $x > 4"
|
|
69 |
[-ControlStructures::ProhibitNegativeExpressionsInUnlessAndUntilConditions]
|
19 | 19 |
--no-outdent-long-comments
|
20 | 20 |
--iterations=2
|
21 | 21 |
-wbb="% + - * / x != == >= <= =~ !~ < > | & >= < = **= += *= &= <<= &&= -= /= |= >>= ||= .= %= ^= x="
|
|
22 |
# This appears to be needed with recent Perl::Tidy versions and
|
|
23 |
# Code::TidyAll. Otherwise it somehow turns UTF-8 POD text into
|
|
24 |
# ISO-8859-1. Setting this to utf8 doesn't work. This is almost certainly
|
|
25 |
# because of https://github.com/houseabsolute/perl-code-tidyall/issues/84
|
|
26 |
--character-encoding=none
|
0 | |
[PerlCritic]
|
1 | |
select = **/*.{pl,pm,t,psgi}
|
2 | 0 |
ignore = .build/**/*
|
3 | 1 |
ignore = Params-Validate-*/**/*
|
4 | 2 |
ignore = blib/**/*
|
|
7 | 5 |
ignore = t/release-*
|
8 | 6 |
ignore = t/zzz-*
|
9 | 7 |
ignore = xt/**/*
|
10 | |
argv = --profile=$ROOT/perlcriticrc
|
11 | 8 |
|
12 | 9 |
[PerlCritic non-auto-generated xt]
|
13 | 10 |
select = xt/author/memory-leak.t
|
|
19 | 16 |
|
20 | 17 |
[PerlTidy]
|
21 | 18 |
select = **/*.{pl,pm,t,psgi}
|
22 | |
ignore = .build/**/*
|
23 | |
ignore = Params-Validate-*/**/*
|
24 | |
ignore = blib/**/*
|
25 | |
ignore = t/00-*
|
26 | |
ignore = t/author-*
|
27 | |
ignore = t/release-*
|
28 | |
ignore = t/zzz-*
|
29 | |
ignore = xt/**/*
|
30 | 19 |
argv = --profile=$ROOT/perltidyrc
|
31 | 20 |
|
32 | 21 |
[PerlTidy non-auto-generated xt]
|
|
36 | 25 |
select = xt/author/xs-segfault.t
|
37 | 26 |
select = xt/author/xs-stack-realloc.t
|
38 | 27 |
argv = --profile=$ROOT/perltidyrc
|
|
28 |
|
|
29 |
[Test::Vars]
|
|
30 |
select = **/*.pm
|