Skip to content

Commit

Permalink
Added missing perltidyrc and updated contribution guidelines
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasbn committed May 17, 2020
1 parent 07b7045 commit 74a0c82
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .perltidyrc
@@ -0,0 +1,18 @@
# REF: http://www.perlmonks.org/?node_id=485885
# PBP .perltidyrc file

-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
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Expand Up @@ -25,7 +25,7 @@ Please use the [PR template](.github/PULL_REQUEST_TEMPLATE.md).
Coding guidelines are basic, please use:

- [EditorConfig](http://editorconfig.org/) configuration included in repository as `.editorconfig`
- [PerlTidy](http://perltidy.sourceforge.net/) configuration included in repository as `.perlcriticrc`
- [PerlTidy](http://perltidy.sourceforge.net/) configuration included in repository as `.perltidyrc`

For other coding conventions please see the Perl::Critic configuration in: `t/perlcriticrc`.

Expand Down

0 comments on commit 74a0c82

Please sign in to comment.