class AmberLSP::Rules::Schemas::FieldTypeRule

Defined in:

amber_lsp/rules/schemas/field_type_rule.cr

Constant Summary

VALID_TYPES = ["String", "Int32", "Int64", "Float32", "Float64", "Bool", "Time", "UUID", "Array(String)", "Array(Int32)", "Array(Int64)", "Array(Float64)", "Array(Bool)", "Hash(String,JSON::Any)"]

Instance Method Summary

Instance methods inherited from class AmberLSP::Rules::BaseRule

applies_to : Array(String) applies_to, check(file_path : String, content : String) : Array(Diagnostic) check, default_severity : Severity default_severity, description : String description, find_all_line_ranges(content : String, pattern : Regex) : Array(TextRange) find_all_line_ranges, find_line_range(content : String, pattern : Regex) : TextRange | Nil find_line_range, id : String id

Instance Method Detail

def applies_to : Array(String) #

[View source]
def check(file_path : String, content : String) : Array(Diagnostic) #

[View source]
def default_severity : AmberLSP::Rules::Severity #

[View source]
def description : String #

[View source]
def id : String #

[View source]