From 3448de30daaf5e206a0c52132e11a47f7e8d0d6d Mon Sep 17 00:00:00 2001 From: Vitalii Elenhaupt Date: Fri, 19 Jun 2020 21:41:02 +0300 Subject: [PATCH] Enable rules which were disabled during bugfix release --- src/ameba/rule/lint/bad_directive.cr | 1 - src/ameba/rule/style/is_a_nil.cr | 1 - 2 files changed, 2 deletions(-) diff --git a/src/ameba/rule/lint/bad_directive.cr b/src/ameba/rule/lint/bad_directive.cr index d5245164..76b6d358 100644 --- a/src/ameba/rule/lint/bad_directive.cr +++ b/src/ameba/rule/lint/bad_directive.cr @@ -21,7 +21,6 @@ module Ameba::Rule::Lint struct BadDirective < Base properties do description "Reports bad comment directives" - enabled false end AVAILABLE_ACTIONS = InlineComments::Action.names.map(&.downcase) diff --git a/src/ameba/rule/style/is_a_nil.cr b/src/ameba/rule/style/is_a_nil.cr index 0f19f1ae..18653bbc 100644 --- a/src/ameba/rule/style/is_a_nil.cr +++ b/src/ameba/rule/style/is_a_nil.cr @@ -23,7 +23,6 @@ module Ameba::Rule::Style struct IsANil < Base properties do description "Disallows calls to `is_a?(Nil)` in favor of `nil?`" - enabled false end MSG = "Use `nil?` instead of `is_a?(Nil)`"