Reformat code example
This commit is contained in:
parent
031c1daf58
commit
63a54986dd
|
@ -3,19 +3,15 @@ module Ameba::Rule::Lint
|
|||
#
|
||||
# For example, this is considered invalid:
|
||||
#
|
||||
# ```
|
||||
# def foo
|
||||
# yield 42
|
||||
# end
|
||||
# ```
|
||||
#
|
||||
# And has to be written as the following:
|
||||
#
|
||||
# ```
|
||||
# def foo(&)
|
||||
# yield 42
|
||||
# end
|
||||
# ```
|
||||
#
|
||||
# YAML configuration example:
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue