Disable new rules before the coming bugfix release

This commit is contained in:
Vitalii Elenhaupt 2020-04-13 10:11:15 +03:00
parent e9bd6057c7
commit b215b34060
No known key found for this signature in database
GPG Key ID: CD0BF17825928BC0
2 changed files with 2 additions and 0 deletions

View File

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

View File

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