mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Enable rules which were disabled during bugfix release
This commit is contained in:
parent
3c90863d9e
commit
3448de30da
2 changed files with 0 additions and 2 deletions
|
@ -21,7 +21,6 @@ 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,7 +23,6 @@ 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