Skip to content

Commit a6d7c0a

Browse files
committed
lint
1 parent f52c431 commit a6d7c0a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

lib/html_pipeline/convert_filter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class ConvertFilter < Filter
55
attr_reader :text, :html
66

77
def initialize(context: {}, result: {})
8-
super(context: context, result: result)
8+
super
99
end
1010

1111
class << self

lib/html_pipeline/convert_filter/markdown_filter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class ConvertFilter < Filter
1212
# :markdown[:extensions] => Commonmarker extensions options
1313
class MarkdownFilter < ConvertFilter
1414
def initialize(context: {}, result: {})
15-
super(context: context, result: result)
15+
super
1616
end
1717

1818
# Convert Commonmark to HTML using the best available implementation.

lib/html_pipeline/node_filter/syntax_highlight_filter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class NodeFilter
1515
# This filter does not write any additional information to the context hash.
1616
class SyntaxHighlightFilter < NodeFilter
1717
def initialize(context: {}, result: {})
18-
super(context: context, result: result)
18+
super
1919
# TODO: test the optionality of this
2020
@formatter = context[:formatter] || Rouge::Formatters::HTML.new
2121
end

lib/html_pipeline/text_filter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class TextFilter < Filter
55
attr_reader :text
66

77
def initialize(context: {}, result: {})
8-
super(context: context, result: result)
8+
super
99
end
1010

1111
class << self

0 commit comments

Comments
 (0)