Add description to syntax special rule

This commit is contained in:
Vitalii Elenhaupt 2018-12-09 00:12:14 +02:00
parent 20938da89a
commit 148044f479
No known key found for this signature in database
GPG key ID: 7558EF3A4056C706

View file

@ -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