[Nikto-discuss] Code style / perltidy
Jabra
jabra at spl0it.org
Mon May 5 23:50:39 UTC 2008
Hey guys,
I have been looking at many parts of the Nikto codebase and much
of the code styles are inconsistent. I'm curious if anyone would
object to me running perltidy with the .perltidyrc from the Perl
Best Practices book.
This would make the code consistent with a standard way that code
should look. I have attached the .perltidyrc if anyone doesn't
already have it.
Regards,
Jabra
--
Jabra < jabra at spl0it.org >
http://www.spl0it.org
-------------- next part --------------
--quiet
-l=78
# Max line width is 78 cols
-i=4
# Indent level is 4 cols
-ci=4
# Continuation indent is 4 cols
-st
# Output to STDOUT
-se
# Errors to STDERR
-vt=2
# Maximal vertical tightness
-cti=0
# No extra indentation for closing brackets
-pt=1
# Medium parenthesis tightness
-bt=1
# Medium brace tightness
-sbt=1
# Medium square bracket tightness
-bbt=1
# Medium block brace tightness
-nsfs
# No space before semicolons
-nolq
# Don't outdent long quoted strings
-wbb="% + - * / x != == >= <= =~ !~ < > | & >= < = **= += *= &= <<= &&= -= /= |= >>= ||= .= %= ^= x="
# Break before all operators
More information about the Nikto-discuss
mailing list