Skip to content

Commit d3bf936

Browse files
author
remi Taylor
committed
Disable more Rubocop cops to be more liberal for code sample syntax
1 parent 324f7ec commit d3bf936

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.rubocop.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,14 @@ Style/CommentIndentation:
8585
Style/MethodLength:
8686
Enabled: false
8787

88+
# Allow spaces inside %w[ String Arrays like this ]
89+
Style/SpaceInsidePercentLiteralDelimiters:
90+
Enabled: false
91+
92+
# Allos spaces inside arrays, eg. [ "this", "for", "clarity", "sometimes"` ]
93+
Style/SpaceInsideBrackets:
94+
Enabled: false
95+
8896
Style/NumericLiterals:
8997
Enabled: false
9098
Style/SpaceAroundOperators:

0 commit comments

Comments
 (0)