Disable PredicateName and LargeNumbers rules by default

This commit is contained in:
Vitalii Elenhaupt 2018-07-04 14:11:24 +03:00
parent a0f31dc943
commit 970ca4be1b
No known key found for this signature in database
GPG key ID: 7558EF3A4056C706
2 changed files with 2 additions and 0 deletions

View file

@ -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"

View file

@ -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'"