Skip to content

Commit ec4ea4e

Browse files
authored
Remove remaining easy rubocop suppressions (#879)
Removes the remaining "easy to fix" rubocop suppressions from the asciidoctor extension code base.
1 parent 8f51669 commit ec4ea4e

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

resources/asciidoctor/.rubocop.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ inherit_from: ../../.rubocop.yml
55
Layout/AlignParameters:
66
Enabled: false
77

8-
Layout/BlockAlignment:
9-
Enabled: false
10-
118
Layout/IndentArray:
129
Enabled: false
1310

@@ -17,14 +14,5 @@ Metrics/AbcSize:
1714
Metrics/BlockLength:
1815
Enabled: false
1916

20-
Metrics/BlockNesting:
21-
Enabled: false
22-
2317
Metrics/MethodLength:
2418
Enabled: false
25-
26-
Metrics/PerceivedComplexity:
27-
Enabled: false
28-
29-
Style/NestedParenthesizedCalls:
30-
Enabled: false

resources/asciidoctor/lib/copy_images/extension.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def process_block(block)
4646
def process_block_image(block)
4747
return unless block.context == :image
4848

49-
uri = block.image_uri(block.attr 'target')
49+
uri = block.image_uri(block.attr('target'))
5050
process_image block, uri
5151
end
5252

0 commit comments

Comments
 (0)