mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Reports also methods not ending with ?
suffix in PredicateName
rule
This commit is contained in:
parent
633ed7538e
commit
b3f11913ed
2 changed files with 5 additions and 1 deletions
|
@ -30,6 +30,10 @@ module Ameba::Rule::Naming
|
|||
def is_valid?(x)
|
||||
# ^^^^^^^^^ error: Favour method name 'valid?' over 'is_valid?'
|
||||
end
|
||||
|
||||
def is_valid(x)
|
||||
# ^^^^^^^^ error: Favour method name 'valid?' over 'is_valid'
|
||||
end
|
||||
CRYSTAL
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue