]> git.donarmstrong.com Git - perltidy.git/commitdiff
add a perltidyrc file to automate some checks
authorSteve Hancock <perltidy@users.sourceforge.net>
Sun, 7 Jan 2024 00:55:45 +0000 (16:55 -0800)
committerSteve Hancock <perltidy@users.sourceforge.net>
Sun, 7 Jan 2024 00:55:45 +0000 (16:55 -0800)
.perlcriticrc
perltidyrc

index 9430a230ec5172de3e8c86603245eb0789e3fb10..77378139809b23dd22aa70e7784dfeadbb3d86e4 100644 (file)
@@ -183,3 +183,7 @@ allow = if unless
 # and error reporting.
 [InputOutput::RequireCheckedSyscalls]
 exclude_functions = print
+
+# Use a perltidyrc which does some warning checks
+[CodeLayout::RequireTidyCode]
+perltidyrc = perltidyrc
index 602ec0a34125f8b558693056fc179e1b7fe05443..682b86d4a63ae8d64e108b4e1234e714d4c6ac8d 100644 (file)
@@ -1,4 +1,6 @@
 # perltidyrc file for perltidy
+# Note that this is not named .perltidyrc because that would interfere
+# with testing. This has to be requested with -pro=perltidyrc
 
 # warnings
 --warning-output