Reformat code example

This commit is contained in:
Vitalii Elenhaupt 2023-02-19 14:22:17 +02:00 committed by Sijawusz Pur Rahnama
parent 031c1daf58
commit 63a54986dd
1 changed files with 6 additions and 10 deletions

View File

@ -3,19 +3,15 @@ module Ameba::Rule::Lint
#
# For example, this is considered invalid:
#
# ```
# def foo
# yield 42
# end
# ```
# def foo
# yield 42
# end
#
# And has to be written as the following:
#
# ```
# def foo(&)
# yield 42
# end
# ```
# def foo(&)
# yield 42
# end
#
# YAML configuration example:
#