File tree 1 file changed +19
-0
lines changed
1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 1
1
## .perltidyrc --- configuration for perltidy
2
2
## https://perltidy.sourceforge.net/perltidy.html
3
+ ## https://github.com/perltidy/perltidy
3
4
4
5
# No max line width
5
6
-l=0
17
18
-ci=2
18
19
# Indent via tabs, 1 tab=8 spaces
19
20
-et=8
21
+ # Align wide operators (=>, etc.)
22
+ -vwe
20
23
# Line up list indentation
21
24
-xlp
22
25
# No trailing commas in lists, just in case
23
26
-wtc=0
24
27
-dtc
28
+ -dltc
29
+ -naltc
30
+ # Nicer formatting of qw?
31
+ -qwaf
25
32
# Indent closing braces/brackets to match opener
26
33
-cti=1
27
34
# All containers tight (parentheses, braces, square brackets, block braces)
58
65
59
66
# Have -dbs report all blocks, regardless of size/LOC. Annoying if -dbt not sub
60
67
-dbl=1
68
+
69
+ # Warn about some things
70
+ # Unusual variable types
71
+ -wvt=1
72
+ # Misspelled hash keys
73
+ -wuk
74
+ # Similar hash keys (probably bad?)
75
+ -wsk
76
+ # Mismatched args
77
+ -wma
78
+ # Mismatched returns
79
+ -wmr
You can’t perform that action at this time.
0 commit comments