Enable rules which were disabled during bugfix release

This commit is contained in:
Vitalii Elenhaupt 2020-06-19 21:41:02 +03:00
parent 3c90863d9e
commit 3448de30da
No known key found for this signature in database
GPG key ID: CD0BF17825928BC0
2 changed files with 0 additions and 2 deletions

View file

@ -21,7 +21,6 @@ module Ameba::Rule::Lint
struct BadDirective < Base struct BadDirective < Base
properties do properties do
description "Reports bad comment directives" description "Reports bad comment directives"
enabled false
end end
AVAILABLE_ACTIONS = InlineComments::Action.names.map(&.downcase) AVAILABLE_ACTIONS = InlineComments::Action.names.map(&.downcase)

View file

@ -23,7 +23,6 @@ module Ameba::Rule::Style
struct IsANil < Base struct IsANil < Base
properties do properties do
description "Disallows calls to `is_a?(Nil)` in favor of `nil?`" description "Disallows calls to `is_a?(Nil)` in favor of `nil?`"
enabled false
end end
MSG = "Use `nil?` instead of `is_a?(Nil)`" MSG = "Use `nil?` instead of `is_a?(Nil)`"