Add description to syntax special rule
This commit is contained in:
parent
20938da89a
commit
148044f479
|
@ -20,6 +20,8 @@ module Ameba::Rule::Lint
|
|||
# ```
|
||||
#
|
||||
struct Syntax < Base
|
||||
getter description = "Reports invalid Crystal syntax."
|
||||
|
||||
def test(source)
|
||||
source.ast
|
||||
rescue e : Crystal::SyntaxException
|
||||
|
|
Loading…
Reference in New Issue