Doc fixes

This commit is contained in:
Sijawusz Pur Rahnama 2022-11-23 16:15:46 +01:00
parent 75482a06cf
commit 1399aa3cdf
2 changed files with 2 additions and 1 deletions

View file

@ -9,7 +9,7 @@ module Ameba::Rule::Layout
# ``` # ```
class TrailingWhitespace < Base class TrailingWhitespace < Base
properties do properties do
description "Disallows trailing whitespaces" description "Disallows trailing whitespace"
end end
MSG = "Trailing whitespace detected" MSG = "Trailing whitespace detected"

View file

@ -2,6 +2,7 @@ module Ameba::Rule::Lint
# A rule that disallows redundant `with_index` calls. # A rule that disallows redundant `with_index` calls.
# #
# For example, this is considered invalid: # For example, this is considered invalid:
#
# ``` # ```
# collection.each.with_index do |e| # collection.each.with_index do |e|
# # ... # # ...