mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Disable new rules before the coming bugfix release
This commit is contained in:
parent
e9bd6057c7
commit
b215b34060
2 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,7 @@ 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)
|
||||||
|
|
|
@ -23,6 +23,7 @@ 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)`"
|
||||||
|
|
Loading…
Reference in a new issue