Skip to content

Commit

Permalink
Disable new rules before the coming bugfix release
Browse files Browse the repository at this point in the history
  • Loading branch information
veelenga committed Apr 13, 2020
1 parent e9bd605 commit b215b34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/ameba/rule/lint/bad_directive.cr
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions src/ameba/rule/style/is_a_nil.cr
Original file line number Diff line number Diff line change
Expand Up @@ -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)`"
Expand Down

0 comments on commit b215b34

Please sign in to comment.