mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Disable PredicateName and LargeNumbers rules by default
This commit is contained in:
parent
a0f31dc943
commit
970ca4be1b
2 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,7 @@ module Ameba::Rule::Style
|
|||
properties do
|
||||
description "Disallows usage of large numbers without underscore"
|
||||
int_min_digits 5
|
||||
enabled false
|
||||
end
|
||||
|
||||
MSG = "Large numbers should be written with underscores: %s"
|
||||
|
|
|
@ -32,6 +32,7 @@ module Ameba::Rule::Style
|
|||
struct PredicateName < Base
|
||||
properties do
|
||||
description "Disallows tautological predicate names"
|
||||
enabled false
|
||||
end
|
||||
|
||||
MSG = "Favour method name '%s?' over '%s'"
|
||||
|
|
Loading…
Reference in a new issue