Skip to content

Commit

Permalink
Rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushn21 committed Jun 16, 2021
1 parent 54c6b0c commit 33df425
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
9 changes: 9 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,12 @@ AllCops:

- script/**/*
- vendor/**/*

Style/MultilineIfModifier:
Enabled: false

Style/RescueStandardError:
Enabled: false

Lint/AmbiguousBlockAssociation:
Enabled: false
2 changes: 1 addition & 1 deletion lib/bridgetown-svg-inliner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ module BridgetownSvgInliner
autoload :LiquidAttributes, "bridgetown-svg-inliner/liquid_attributes"
end

BridgetownSvgInliner::Builder.register
BridgetownSvgInliner::Builder.register
2 changes: 1 addition & 1 deletion lib/bridgetown-svg-inliner/builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ def render(path, html_attributes)
xml.root.to_xml.html_safe
end
end
end
end
2 changes: 1 addition & 1 deletion lib/bridgetown-svg-inliner/liquid_attributes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ def unescape_string(string)
string
end
end
end
end

0 comments on commit 33df425

Please sign in to comment.