Use tuple instead of array for Rule::SPECIAL

This commit is contained in:
Sijawusz Pur Rahnama 2022-11-22 19:44:38 +01:00
parent 6bd18f9cbf
commit 39cc286263

View file

@ -1,10 +1,10 @@
module Ameba::Rule
# List of names of the special rules, which
# behave differently than usual rules.
SPECIAL = [
SPECIAL = {
Lint::Syntax.rule_name,
Lint::UnneededDisableDirective.rule_name,
]
}
# Represents a base of all rules. In other words, all rules
# inherits from this struct: