Remove redundant empty comment lines

This commit is contained in:
Sijawusz Pur Rahnama 2022-11-26 02:19:06 +01:00
parent 629e65127d
commit 748cab29b4
2 changed files with 0 additions and 3 deletions

View file

@ -111,7 +111,6 @@ class Ameba::Config
# config.formatter = custom_formatter # config.formatter = custom_formatter
# config.formatter # config.formatter
# ``` # ```
#
property formatter : Formatter::BaseFormatter do property formatter : Formatter::BaseFormatter do
Formatter::DotFormatter.new Formatter::DotFormatter.new
end end

View file

@ -46,7 +46,6 @@ module Ameba
# source = Ameba::Source.new "a = 1\nb = 2", path # source = Ameba::Source.new "a = 1\nb = 2", path
# source.lines # => ["a = 1", "b = 2"] # source.lines # => ["a = 1", "b = 2"]
# ``` # ```
#
getter lines : Array(String) { code.split('\n') } getter lines : Array(String) { code.split('\n') }
# Returns AST nodes constructed by `Crystal::Parser`. # Returns AST nodes constructed by `Crystal::Parser`.
@ -55,7 +54,6 @@ module Ameba
# source = Ameba::Source.new code, path # source = Ameba::Source.new code, path
# source.ast # source.ast
# ``` # ```
#
getter ast : Crystal::ASTNode do getter ast : Crystal::ASTNode do
Crystal::Parser.new(code) Crystal::Parser.new(code)
.tap(&.wants_doc = true) .tap(&.wants_doc = true)