From 14444483697618e8709cedb31933fdba0834cff4 Mon Sep 17 00:00:00 2001 From: Steve Hancock Date: Sat, 20 Jun 2020 17:16:43 -0700 Subject: [PATCH] bumped version to 20200619.01 for continued development --- CHANGES.md | 6 + bin/perltidy | 2 +- lib/Perl/Tidy.pm | 2 +- lib/Perl/Tidy.pod | 2 +- lib/Perl/Tidy/Debugger.pm | 2 +- lib/Perl/Tidy/DevNull.pm | 2 +- lib/Perl/Tidy/Diagnostics.pm | 2 +- lib/Perl/Tidy/FileWriter.pm | 2 +- lib/Perl/Tidy/Formatter.pm | 2 +- lib/Perl/Tidy/HtmlWriter.pm | 2 +- lib/Perl/Tidy/IOScalar.pm | 2 +- lib/Perl/Tidy/IOScalarArray.pm | 2 +- lib/Perl/Tidy/IndentationItem.pm | 2 +- lib/Perl/Tidy/LineBuffer.pm | 2 +- lib/Perl/Tidy/LineSink.pm | 2 +- lib/Perl/Tidy/LineSource.pm | 2 +- lib/Perl/Tidy/Logger.pm | 2 +- lib/Perl/Tidy/Tokenizer.pm | 2 +- lib/Perl/Tidy/VerticalAligner.pm | 2 +- lib/Perl/Tidy/VerticalAligner/Alignment.pm | 2 +- lib/Perl/Tidy/VerticalAligner/Line.pm | 2 +- t/snippets/coverage_missing.txt | 3 - t/snippets/coverage_values.txt | 836 +++++++++++---------- 23 files changed, 455 insertions(+), 430 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 0c03a486..2daaeb77 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,11 @@ # Perltidy Change Log +## 2020 06 19.01 + + - When --assert-tidy is used and triggers an error, the first difference + between input and output files is shown in the error output. This is + a partial response to issue git #30. + ## 2020 06 19 - Added support for Switch::Plain syntax, issue git #31. diff --git a/bin/perltidy b/bin/perltidy index 4fa0e8e9..7b795f23 100755 --- a/bin/perltidy +++ b/bin/perltidy @@ -4052,7 +4052,7 @@ The perltidy binary uses the Perl::Tidy module and is installed when that module =head1 VERSION -This man page documents perltidy version 20200619 +This man page documents perltidy version 20200619.01 =head1 BUG REPORTS diff --git a/lib/Perl/Tidy.pm b/lib/Perl/Tidy.pm index 004bcd7b..73ab3d43 100644 --- a/lib/Perl/Tidy.pm +++ b/lib/Perl/Tidy.pm @@ -110,7 +110,7 @@ BEGIN { # Release version must be bumped, and it is probably past time for a # release anyway. - $VERSION = '20200619'; + $VERSION = '20200619.01'; } sub streamhandle { diff --git a/lib/Perl/Tidy.pod b/lib/Perl/Tidy.pod index f90ad0ee..8d713335 100644 --- a/lib/Perl/Tidy.pod +++ b/lib/Perl/Tidy.pod @@ -432,7 +432,7 @@ The module 'Perl::Tidy' comes with a binary 'perltidy' which is installed when t =head1 VERSION -This man page documents Perl::Tidy version 20200619 +This man page documents Perl::Tidy version 20200619.01 =head1 LICENSE diff --git a/lib/Perl/Tidy/Debugger.pm b/lib/Perl/Tidy/Debugger.pm index 70bb0164..87d267ef 100644 --- a/lib/Perl/Tidy/Debugger.pm +++ b/lib/Perl/Tidy/Debugger.pm @@ -7,7 +7,7 @@ package Perl::Tidy::Debugger; use strict; use warnings; -our $VERSION = '20200619'; +our $VERSION = '20200619.01'; sub new { diff --git a/lib/Perl/Tidy/DevNull.pm b/lib/Perl/Tidy/DevNull.pm index 110c7376..6200b0ec 100644 --- a/lib/Perl/Tidy/DevNull.pm +++ b/lib/Perl/Tidy/DevNull.pm @@ -7,7 +7,7 @@ package Perl::Tidy::DevNull; use strict; use warnings; -our $VERSION = '20200619'; +our $VERSION = '20200619.01'; sub new { my $self = shift; return bless {}, $self } sub print { return } sub close { return } diff --git a/lib/Perl/Tidy/Diagnostics.pm b/lib/Perl/Tidy/Diagnostics.pm index 495fd4ab..f2a5657e 100644 --- a/lib/Perl/Tidy/Diagnostics.pm +++ b/lib/Perl/Tidy/Diagnostics.pm @@ -20,7 +20,7 @@ package Perl::Tidy::Diagnostics; use strict; use warnings; -our $VERSION = '20200619'; +our $VERSION = '20200619.01'; sub new { diff --git a/lib/Perl/Tidy/FileWriter.pm b/lib/Perl/Tidy/FileWriter.pm index e5c6eab6..109abaef 100644 --- a/lib/Perl/Tidy/FileWriter.pm +++ b/lib/Perl/Tidy/FileWriter.pm @@ -7,7 +7,7 @@ package Perl::Tidy::FileWriter; use strict; use warnings; -our $VERSION = '20200619'; +our $VERSION = '20200619.01'; # Maximum number of little messages; probably need not be changed. my $MAX_NAG_MESSAGES = 6; diff --git a/lib/Perl/Tidy/Formatter.pm b/lib/Perl/Tidy/Formatter.pm index c865d989..42dd927d 100644 --- a/lib/Perl/Tidy/Formatter.pm +++ b/lib/Perl/Tidy/Formatter.pm @@ -12,7 +12,7 @@ package Perl::Tidy::Formatter; use strict; use warnings; use Carp; -our $VERSION = '20200619'; +our $VERSION = '20200619.01'; # The Tokenizer will be loaded with the Formatter ##use Perl::Tidy::Tokenizer; # for is_keyword() diff --git a/lib/Perl/Tidy/HtmlWriter.pm b/lib/Perl/Tidy/HtmlWriter.pm index ac432c7b..41a7bc2b 100644 --- a/lib/Perl/Tidy/HtmlWriter.pm +++ b/lib/Perl/Tidy/HtmlWriter.pm @@ -7,7 +7,7 @@ package Perl::Tidy::HtmlWriter; use strict; use warnings; -our $VERSION = '20200619'; +our $VERSION = '20200619.01'; use File::Basename; diff --git a/lib/Perl/Tidy/IOScalar.pm b/lib/Perl/Tidy/IOScalar.pm index 00761316..66a2728a 100644 --- a/lib/Perl/Tidy/IOScalar.pm +++ b/lib/Perl/Tidy/IOScalar.pm @@ -10,7 +10,7 @@ package Perl::Tidy::IOScalar; use strict; use warnings; use Carp; -our $VERSION = '20200619'; +our $VERSION = '20200619.01'; sub new { my ( $package, $rscalar, $mode ) = @_; diff --git a/lib/Perl/Tidy/IOScalarArray.pm b/lib/Perl/Tidy/IOScalarArray.pm index 873e28cc..cce2af36 100644 --- a/lib/Perl/Tidy/IOScalarArray.pm +++ b/lib/Perl/Tidy/IOScalarArray.pm @@ -14,7 +14,7 @@ package Perl::Tidy::IOScalarArray; use strict; use warnings; use Carp; -our $VERSION = '20200619'; +our $VERSION = '20200619.01'; sub new { my ( $package, $rarray, $mode ) = @_; diff --git a/lib/Perl/Tidy/IndentationItem.pm b/lib/Perl/Tidy/IndentationItem.pm index 36ab7b68..1352117a 100644 --- a/lib/Perl/Tidy/IndentationItem.pm +++ b/lib/Perl/Tidy/IndentationItem.pm @@ -8,7 +8,7 @@ package Perl::Tidy::IndentationItem; use strict; use warnings; -our $VERSION = '20200619'; +our $VERSION = '20200619.01'; sub new { diff --git a/lib/Perl/Tidy/LineBuffer.pm b/lib/Perl/Tidy/LineBuffer.pm index 7ff88408..4cde55b1 100644 --- a/lib/Perl/Tidy/LineBuffer.pm +++ b/lib/Perl/Tidy/LineBuffer.pm @@ -12,7 +12,7 @@ package Perl::Tidy::LineBuffer; use strict; use warnings; -our $VERSION = '20200619'; +our $VERSION = '20200619.01'; sub new { diff --git a/lib/Perl/Tidy/LineSink.pm b/lib/Perl/Tidy/LineSink.pm index 6305599d..d144c291 100644 --- a/lib/Perl/Tidy/LineSink.pm +++ b/lib/Perl/Tidy/LineSink.pm @@ -8,7 +8,7 @@ package Perl::Tidy::LineSink; use strict; use warnings; -our $VERSION = '20200619'; +our $VERSION = '20200619.01'; sub new { diff --git a/lib/Perl/Tidy/LineSource.pm b/lib/Perl/Tidy/LineSource.pm index f44382a4..d5b30780 100644 --- a/lib/Perl/Tidy/LineSource.pm +++ b/lib/Perl/Tidy/LineSource.pm @@ -8,7 +8,7 @@ package Perl::Tidy::LineSource; use strict; use warnings; -our $VERSION = '20200619'; +our $VERSION = '20200619.01'; sub new { diff --git a/lib/Perl/Tidy/Logger.pm b/lib/Perl/Tidy/Logger.pm index 446a8926..7d4da6ce 100644 --- a/lib/Perl/Tidy/Logger.pm +++ b/lib/Perl/Tidy/Logger.pm @@ -7,7 +7,7 @@ package Perl::Tidy::Logger; use strict; use warnings; -our $VERSION = '20200619'; +our $VERSION = '20200619.01'; sub new { diff --git a/lib/Perl/Tidy/Tokenizer.pm b/lib/Perl/Tidy/Tokenizer.pm index 94d10e50..2e15f75a 100644 --- a/lib/Perl/Tidy/Tokenizer.pm +++ b/lib/Perl/Tidy/Tokenizer.pm @@ -21,7 +21,7 @@ package Perl::Tidy::Tokenizer; use strict; use warnings; -our $VERSION = '20200619'; +our $VERSION = '20200619.01'; use Perl::Tidy::LineBuffer; diff --git a/lib/Perl/Tidy/VerticalAligner.pm b/lib/Perl/Tidy/VerticalAligner.pm index f4367cf5..56b616aa 100644 --- a/lib/Perl/Tidy/VerticalAligner.pm +++ b/lib/Perl/Tidy/VerticalAligner.pm @@ -1,7 +1,7 @@ package Perl::Tidy::VerticalAligner; use strict; use warnings; -our $VERSION = '20200619'; +our $VERSION = '20200619.01'; use Perl::Tidy::VerticalAligner::Alignment; use Perl::Tidy::VerticalAligner::Line; diff --git a/lib/Perl/Tidy/VerticalAligner/Alignment.pm b/lib/Perl/Tidy/VerticalAligner/Alignment.pm index 3c5a7ee1..4ed61bb5 100644 --- a/lib/Perl/Tidy/VerticalAligner/Alignment.pm +++ b/lib/Perl/Tidy/VerticalAligner/Alignment.pm @@ -7,7 +7,7 @@ package Perl::Tidy::VerticalAligner::Alignment; use strict; use warnings; -our $VERSION = '20200619'; +our $VERSION = '20200619.01'; { diff --git a/lib/Perl/Tidy/VerticalAligner/Line.pm b/lib/Perl/Tidy/VerticalAligner/Line.pm index 46aeb278..aed29112 100644 --- a/lib/Perl/Tidy/VerticalAligner/Line.pm +++ b/lib/Perl/Tidy/VerticalAligner/Line.pm @@ -8,7 +8,7 @@ package Perl::Tidy::VerticalAligner::Line; use strict; use warnings; -our $VERSION = '20200619'; +our $VERSION = '20200619.01'; { diff --git a/t/snippets/coverage_missing.txt b/t/snippets/coverage_missing.txt index 7d26b919..da619b70 100644 --- a/t/snippets/coverage_missing.txt +++ b/t/snippets/coverage_missing.txt @@ -105,7 +105,6 @@ nohtml-style-sheets noprofile notidy npro -outdent-keyword-list outfile output-file-extension output-line-ending @@ -122,7 +121,6 @@ podroot podverbose preserve-line-endings profile -quiet show-options stack-opening-block-brace standard-output @@ -140,4 +138,3 @@ valign version vertical-tightness vertical-tightness-closing -whitespace-cycle diff --git a/t/snippets/coverage_values.txt b/t/snippets/coverage_values.txt index 7748adb8..2361ebf9 100644 --- a/t/snippets/coverage_values.txt +++ b/t/snippets/coverage_values.txt @@ -1,250 +1,234 @@ $VAR1 = { - 'opening-brace-on-new-line' => [ - 0, - 1 - ], - 'brace-left-and-indent' => [ - 0, - 1 - ], - 'delete-old-newlines' => [ + 'short-concatenation-item-length' => [ + 12, + 8 + ], + 'line-up-parentheses' => [ 0, 1 ], - 'recombine' => [ - 0, - 1 - ], - 'keyword-group-blanks-delete' => [ - 0, - 1 - ], - 'space-terminal-semicolon' => [ + 'blank-lines-before-subs' => [ + 0, + 1 + ], + 'closing-side-comments' => [ + 0, + 1 + ], + 'stack-closing-hash-brace' => [ 0, 1 ], - 'brace-vertical-tightness' => [ - 0, - 1, - 2 - ], + 'closing-paren-indentation' => [ + 0, + 1, + 2 + ], + 'delete-side-comments' => [ + 0, + 1 + ], 'backup-and-modify-in-place' => [ 0, 1 ], - 'brace-left-and-indent-list' => [ - 'if' - ], - 'block-brace-vertical-tightness' => [ - 0, - 1 - ], - 'cuddled-break-option' => [ - 1 - ], - 'square-bracket-vertical-tightness-closing' => [ - 0, - 2 - ], - 'long-block-line-count' => [ - 8 + 'space-backslash-quote' => [ + 0, + 1, + 2 ], - 'opening-brace-always-on-right' => [ + 'warning-output' => [ + 0, + 1 + ], + 'outdent-keywords' => [ + 0, + 1 + ], + 'maximum-line-length' => [ + 0, + 1, + 100, + 100000, + 160, + 77, + 78, + 80 + ], + 'paren-tightness' => [ + 0, + 1, + 2 + ], + 'starting-indentation-level' => [ + 0 + ], + 'break-before-all-operators' => [ + 0, + 1 + ], + 'outdent-static-block-comments' => [ 0, 1 ], - 'keep-old-blank-lines' => [ - 0, - 1, - 2 - ], - 'short-concatenation-item-length' => [ - 12, - 8 - ], - 'format-skipping-end' => [ - '#>{2,}' - ], - 'want-break-before' => [ - ' ', - '% + - * / x != == >= <= =~ !~ < > | & = **= += *= &= <<= &&= -= /= |= >>= ||= //= .= %= ^= x=', - '% + - * / x != == >= <= =~ < > | & **= += *= &= <<= &&= -= /= |= >>= ||= .= %= ^= x=', - '=' - ], - 'stack-opening-square-bracket' => [ + 'delete-closing-side-comments' => [ 0, 1 ], - 'indent-closing-brace' => [ - 0, - 1 - ], - 'outdent-static-block-comments' => [ - 0, - 1 - ], - 'block-brace-tightness' => [ - 0, - 1, - 2 - ], - 'check-syntax' => [ + 'ignore-old-breakpoints' => [ + 0, + 1 + ], + 'fuzzy-line-length' => [ + 0, + 1 + ], + 'add-newlines' => [ 0, 1 ], - 'static-block-comments' => [ - 0, - 1 - ], - 'maximum-consecutive-blank-lines' => [ - 0, - 1, - 2 - ], - 'maximum-fields-per-table' => [ - 0 - ], - 'space-function-paren' => [ - 0, - 1 - ], - 'space-after-keyword' => [ - 'push' - ], - 'want-right-space' => [ - '= .= =~ !~ ? :', - '= / *' - ], - 'standard-error-output' => [ - 0, - 1 - ], - 'square-bracket-tightness' => [ + 'keep-interior-semicolons' => [ 0, - 1, - 2 + 1 ], + 'closing-brace-indentation' => [ + 0, + 1, + 2 + ], + 'closing-square-bracket-indentation' => [ + 0, + 1, + 2 + ], + 'trim-pod' => [ + 0, + 1 + ], 'format-skipping' => [ 0, 1 ], + 'keyword-group-blanks-inside' => [ + 0, + 1 + ], + 'tight-secret-operators' => [ + 0, + 1 + ], + 'indent-columns' => [ + 0, + 2, + 4 + ], 'closing-side-comment-maximum-text' => [ 20, 40 ], - 'sub-alias-list' => [ - 'method fun' - ], - 'backup-file-extension' => [ - 'bak', - '~' - ], - 'fixed-position-side-comment' => [ - 40 - ], - 'break-after-all-operators' => [ + 'timestamp' => [ + 0, + 1 + ], + 'outdent-long-quotes' => [ + 0, + 1 + ], + 'stack-closing-block-brace' => [ 0, 1 ], - 'add-newlines' => [ - 0, - 1 - ], + 'hanging-side-comments' => [ + 0, + 1 + ], + 'closing-side-comment-else-flag' => [ + 0 + ], 'weld-nested-containers' => [ 0, 1 ], - 'ignore-side-comment-lengths' => [ - 0, - 1 - ], - 'keyword-group-blanks-repeat-count' => [ - 0 - ], - 'format-skipping-begin' => [ - '#<{2,}' + 'square-bracket-tightness' => [ + 0, + 1, + 2 + ], + 'want-break-before' => [ + ' ', + '% + - * / x != == >= <= =~ !~ < > | & = **= += *= &= <<= &&= -= /= |= >>= ||= //= .= %= ^= x=', + '% + - * / x != == >= <= =~ < > | & **= += *= &= <<= &&= -= /= |= >>= ||= .= %= ^= x=', + '=' + ], + 'delete-semicolons' => [ + 0, + 1 + ], + 'square-bracket-vertical-tightness-closing' => [ + 0, + 2 + ], + 'recombine' => [ + 0, + 1 + ], + 'delete-block-comments' => [ + 0, + 1 ], - 'add-semicolons' => [ + 'add-whitespace' => [ 0, 1 ], - 'maximum-line-length' => [ - 0, - 1, - 100, - 100000, - 160, - 77, - 78, - 80 + 'default-tabsize' => [ + 8 + ], + 'format-skipping-end' => [ + '#>{2,}' ], - 'outdent-labels' => [ + 'stack-closing-square-bracket' => [ + 0, + 1 + ], + 'backup-file-extension' => [ + 'bak', + '~' + ], + 'outdent-keyword-list' => [ + 'next' + ], + 'brace-vertical-tightness' => [ + 0, + 1, + 2 + ], + 'want-right-space' => [ + '= .= =~ !~ ? :', + '= / *' + ], + 'static-block-comments' => [ + 0, + 1 + ], + 'closing-side-comment-interval' => [ + 2, + 20, + 6 + ], + 'long-block-line-count' => [ + 8 + ], + 'add-semicolons' => [ 0, 1 ], - 'space-prototype-paren' => [ - 0, - 1, - 2 + 'nospace-after-keyword' => [ + 'my for' ], - 'closing-square-bracket-indentation' => [ - 0, - 1, - 2 - ], - 'stack-closing-hash-brace' => [ - 0, - 1 - ], - 'blank-lines-before-subs' => [ - 0, - 1 - ], - 'indent-spaced-block-comments' => [ - 0, - 1 - ], - 'want-break-after' => [ - '% + - * / x != == >= <= =~ !~ < > | & >= < = **= += *= &= <<= &&= -= /= |= >>= ||= .= %= ^= x= . << >> -> && ||' - ], - 'outdent-long-quotes' => [ + 'space-keyword-paren' => [ 0, 1 ], - 'opening-square-bracket-right' => [ - 0, - 1 - ], - 'tight-secret-operators' => [ - 0, - 1 - ], - 'closing-paren-indentation' => [ - 0, - 1, - 2 - ], - 'trim-pod' => [ - 0, - 1 - ], - 'delete-semicolons' => [ - 0, - 1 - ], - 'paren-vertical-tightness-closing' => [ - 0, - 2 - ], - 'brace-tightness' => [ - 0, - 1, - 2 - ], - 'break-at-old-method-breakpoints' => [ - 0, - 1 - ], 'nowant-left-space' => [ '+ - / *', '++ -- ?', @@ -252,127 +236,67 @@ $VAR1 = { '= + - / *', '= / *' ], - 'stack-closing-block-brace' => [ - 0, - 1 - ], - 'space-for-semicolon' => [ - 0, - 1 - ], - 'warning-output' => [ - 0, - 1 - ], - 'one-line-block-nesting' => [ - 0, - 1 - ], - 'starting-indentation-level' => [ - 0 - ], - 'static-side-comments' => [ + 'space-function-paren' => [ 0, 1 ], - 'stack-closing-square-bracket' => [ + 'opening-sub-brace-on-new-line' => [ + 0, + 1 + ], + 'variable-maximum-line-length' => [ 0, 1 ], - 'blanks-before-blocks' => [ - 0, - 1 - ], - 'nospace-after-keyword' => [ - 'my for' - ], 'delete-pod' => [ 0, 1 ], - 'timestamp' => [ - 0, - 1 - ], - 'stack-closing-paren' => [ - 0, - 1 - ], - 'outdent-long-comments' => [ + 'maximum-fields-per-table' => [ + 0 + ], + 'paren-vertical-tightness-closing' => [ + 0, + 2 + ], + 'ignore-side-comment-lengths' => [ + 0, + 1 + ], + 'delete-old-whitespace' => [ 0, 1 ], - 'format' => [ - 'html', - 'tidy' - ], - 'line-up-parentheses' => [ - 0, - 1 - ], - 'opening-anonymous-sub-brace-on-new-line' => [ - 0, - 1 - ], - 'paren-vertical-tightness' => [ - 0, - 1, - 2 - ], - 'cuddled-else' => [ + 'check-syntax' => [ 0, 1 ], - 'iterations' => [ - 1 - ], - 'stack-opening-paren' => [ - 0, - 1 - ], - 'outdent-keywords' => [ - 0, - 1 - ], - 'closing-side-comment-interval' => [ - 2, - 20, - 6 - ], - 'continuation-indentation' => [ - 0, - 2, - 4 - ], - 'keyword-group-blanks-after' => [ - 1, - 2 - ], - 'ignore-old-breakpoints' => [ - 0, - 1 - ], - 'add-whitespace' => [ - 0, - 1 - ], - 'minimum-space-to-comment' => [ - 10, - 2, - 4 + 'entab-leading-whitespace' => [ + 8 ], - 'character-encoding' => [ - 'guess' - ], - 'delete-block-comments' => [ + 'whitespace-cycle' => [ + 4 + ], + 'block-brace-tightness' => [ 0, - 1 + 1, + 2 ], - 'indent-columns' => [ - 0, - 2, - 4 - ], + 'keyword-group-blanks-before' => [ + 1, + 2 + ], + 'cuddled-else' => [ + 0, + 1 + ], + 'keyword-group-blanks-repeat-count' => [ + 0 + ], + 'cuddled-block-list' => [ + 'map,sort,grep', + 'sort,map,grep' + ], 'nowant-right-space' => [ '+ -', '+ - / *', @@ -381,160 +305,258 @@ $VAR1 = { '= + - / *', 'A' ], - 'break-at-old-semicolon-breakpoints' => [ - 0, - 1 - ], - 'variable-maximum-line-length' => [ + 'stack-closing-paren' => [ + 0, + 1 + ], + 'maximum-consecutive-blank-lines' => [ + 0, + 1, + 2 + ], + 'outdent-labels' => [ + 0, + 1 + ], + 'cuddled-break-option' => [ + 1 + ], + 'indent-spaced-block-comments' => [ 0, 1 ], - 'break-before-all-operators' => [ - 0, - 1 - ], - 'cuddled-block-list' => [ - 'map,sort,grep', - 'sort,map,grep' - ], 'closing-side-comments-balanced' => [ 0, 1 ], + 'blank-lines-before-closing-block' => [ + 1 + ], + 'brace-vertical-tightness-closing' => [ + 0, + 2 + ], + 'opening-brace-on-new-line' => [ + 0, + 1 + ], + 'blank-lines-after-opening-block-list' => [ + '*' + ], + 'one-line-block-semicolons' => [ + 0, + 1, + 2 + ], + 'perl-syntax-check-flags' => [ + '-c -T' + ], + 'comma-arrow-breakpoints' => [ + 1, + 5 + ], + 'opening-paren-right' => [ + 0, + 1 + ], 'opening-hash-brace-right' => [ 0, 1 ], - 'paren-tightness' => [ - 0, - 1, - 2 - ], - 'fuzzy-line-length' => [ - 0, - 1 - ], - 'delete-side-comments' => [ + 'static-side-comments' => [ 0, 1 ], - 'brace-vertical-tightness-closing' => [ - 0, - 2 - ], - 'indent-block-comments' => [ - 0, - 1 - ], - 'space-backslash-quote' => [ - 0, - 1, - 2 + 'keyword-group-blanks-after' => [ + 1, + 2 + ], + 'blanks-before-blocks' => [ + 0, + 1 + ], + 'format-skipping-begin' => [ + '#<{2,}' ], - 'closing-side-comments' => [ + 'one-line-block-nesting' => [ + 0, + 1 + ], + 'opening-square-bracket-right' => [ + 0, + 1 + ], + 'break-after-all-operators' => [ + 0, + 1 + ], + 'outdent-long-comments' => [ 0, 1 ], - 'closing-side-comment-else-flag' => [ - 0 - ], + 'opening-brace-always-on-right' => [ + 0, + 1 + ], + 'keyword-group-blanks-size' => [ + '5' + ], + 'keep-old-blank-lines' => [ + 0, + 1, + 2 + ], + 'paren-vertical-tightness' => [ + 0, + 1, + 2 + ], + 'indent-closing-brace' => [ + 0, + 1 + ], + 'stack-opening-square-bracket' => [ + 0, + 1 + ], 'blanks-before-comments' => [ 0, 1 ], - 'entab-leading-whitespace' => [ - 8 - ], - 'hanging-side-comments' => [ - 0, - 1 - ], - 'delete-old-whitespace' => [ + 'stack-opening-paren' => [ + 0, + 1 + ], + 'brace-left-and-indent' => [ 0, 1 ], - 'keyword-group-blanks-size' => [ - '5' - ], - 'one-line-block-semicolons' => [ - 0, - 1, - 2 - ], - 'break-at-old-comma-breakpoints' => [ + 'block-brace-vertical-tightness' => [ 0, 1 ], - 'default-tabsize' => [ - 8 + 'brace-left-and-indent-list' => [ + 'if' + ], + 'standard-error-output' => [ + 0, + 1 + ], + 'want-left-space' => [ + '+ -', + '= .= =~ !~ :' ], - 'comma-arrow-breakpoints' => [ - 1, - 5 - ], - 'square-bracket-vertical-tightness' => [ - 0, - 1, - 2 - ], - 'opening-sub-brace-on-new-line' => [ + 'keyword-paren-inner-tightness' => [ 0, 1 ], - 'want-left-space' => [ - '+ -', - '= .= =~ !~ :' + 'brace-tightness' => [ + 0, + 1, + 2 ], - 'blank-lines-before-closing-block' => [ - 1 - ], - 'stack-opening-hash-brace' => [ - 0, - 1 - ], 'blank-lines-before-packages' => [ 0, 1 ], - 'perl-syntax-check-flags' => [ - '-c -T' - ], - 'keep-interior-semicolons' => [ + 'blank-lines-before-closing-block-list' => [ + '*' + ], + 'iterations' => [ + 1, + 4 + ], + 'continuation-indentation' => [ 0, - 1 + 2, + 4 ], - 'keyword-group-blanks-inside' => [ + 'space-prototype-paren' => [ + 0, + 1, + 2 + ], + 'quiet' => [ + 0, + 1 + ], + 'break-at-old-method-breakpoints' => [ + 0, + 1 + ], + 'keyword-group-blanks-delete' => [ 0, 1 ], - 'opening-paren-right' => [ + 'break-at-old-semicolon-breakpoints' => [ + 0, + 1 + ], + 'want-break-after' => [ + '% + - * / x != == >= <= =~ !~ < > | & >= < = **= += *= &= <<= &&= -= /= |= >>= ||= .= %= ^= x= . << >> -> && ||' + ], + 'minimum-space-to-comment' => [ + 10, + 2, + 4 + ], + 'break-at-old-comma-breakpoints' => [ + 0, + 1 + ], + 'logical-padding' => [ + 0, + 1 + ], + 'space-terminal-semicolon' => [ + 0, + 1 + ], + 'format' => [ + 'html', + 'tidy' + ], + 'indent-block-comments' => [ + 0, + 1 + ], + 'space-after-keyword' => [ + 'push' + ], + 'square-bracket-vertical-tightness' => [ + 0, + 1, + 2 + ], + 'sub-alias-list' => [ + 'method fun' + ], + 'delete-old-newlines' => [ 0, 1 ], - 'closing-brace-indentation' => [ - 0, - 1, - 2 - ], - 'blank-lines-before-closing-block-list' => [ - '*' - ], - 'blank-lines-after-opening-block-list' => [ - '*' - ], - 'delete-closing-side-comments' => [ - 0, - 1 - ], + 'opening-anonymous-sub-brace-on-new-line' => [ + 0, + 1 + ], + 'space-for-semicolon' => [ + 0, + 1 + ], + 'fixed-position-side-comment' => [ + 40 + ], + 'keyword-paren-inner-tightness-list' => [ + 'return factorial' + ], + 'character-encoding' => [ + 'guess' + ], 'blank-lines-after-opening-block' => [ 2 ], - 'keyword-group-blanks-before' => [ - 1, - 2 - ], - 'space-keyword-paren' => [ - 0, - 1 - ] + 'stack-opening-hash-brace' => [ + 0, + 1 + ] }; -- 2.39.5