mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Doc fixes
This commit is contained in:
parent
75482a06cf
commit
1399aa3cdf
2 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,7 @@ module Ameba::Rule::Layout
|
|||
# ```
|
||||
class TrailingWhitespace < Base
|
||||
properties do
|
||||
description "Disallows trailing whitespaces"
|
||||
description "Disallows trailing whitespace"
|
||||
end
|
||||
|
||||
MSG = "Trailing whitespace detected"
|
||||
|
|
|
@ -2,6 +2,7 @@ module Ameba::Rule::Lint
|
|||
# A rule that disallows redundant `with_index` calls.
|
||||
#
|
||||
# For example, this is considered invalid:
|
||||
#
|
||||
# ```
|
||||
# collection.each.with_index do |e|
|
||||
# # ...
|
||||
|
|
Loading…
Reference in a new issue