Created
June 15, 2017 20:12
-
-
Save allanon/8abbee51d2c10761379822ef28f4c566 to your computer and use it in GitHub Desktop.
perltidyrc for OpenKore dev work
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# max line width is 132 cols | |
-l=132 | |
# indent level is 4 cols | |
-i=4 | |
# entab at 4 cols | |
-et=4 | |
# continuation indent is 4 cols | |
-ci=4 | |
# output to stdout | |
-st | |
# errors to stderr | |
-se | |
# medium vertical tightness | |
-vt=2 | |
# no extra indentation for closing brackets | |
-cti=0 | |
# minimum parenthesis tightness | |
-pt=0 | |
# medium brace tightness | |
-bt=1 | |
# medium square bracket tightness | |
-sbt=1 | |
# medium block brace tightness | |
-bbt=1 | |
# no space before semicolons | |
-nsfs | |
# don't outdent long quoted strings | |
-nolq | |
# break before all operators | |
-wbb="% + - * / x != == >= <= =~ !~ < > | & = **= += *= &= <<= &&= -= /= |= >>= ||= .= %= ^= x=" | |
# No whitespace after semi-colons | |
-nwrs=";" | |
# Cuddle else | |
-ce | |
# Add whitespace before separating semi-colons in for statements | |
-sfs | |
# Always put opening code block brace on right | |
-bar | |
# Cuddle opening tokens with preceding commas (eg, "}, {" instead of "},\n\t{") | |
-otr | |
# Always break after an opening non-block brace | |
-bvt=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment