diff --git a/src/ameba/rule/lint/bad_directive.cr b/src/ameba/rule/lint/bad_directive.cr index 76b6d358..d5245164 100644 --- a/src/ameba/rule/lint/bad_directive.cr +++ b/src/ameba/rule/lint/bad_directive.cr @@ -21,6 +21,7 @@ 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 18653bbc..0f19f1ae 100644 --- a/src/ameba/rule/style/is_a_nil.cr +++ b/src/ameba/rule/style/is_a_nil.cr @@ -23,6 +23,7 @@ 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)`"