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
|
||||
properties do
|
||||
description "Reports bad comment directives"
|
||||
enabled false
|
||||
end
|
||||
|
||||
AVAILABLE_ACTIONS = InlineComments::Action.names.map(&.downcase)
|
||||
|
|
|
@ -23,7 +23,6 @@ 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)`"
|
||||
|
|
Loading…
Reference in a new issue