class
AmberLSP::Rules::FSDD::StoryGrammarRule
Defined in:
amber_lsp/rules/fsdd/story_grammar_rule.crConstant Summary
-
ACTION_VERB_RE =
/\b(GET|POST|PUT|PATCH|DELETE|perform|do)\b/ -
MODEL_NAME_RE =
/\b[A-Z][a-z][a-zA-Z0-9]*\b/ -
STORY_INITIATOR_RE =
/\b(As a|At |Every )/ -
STORY_INITIATOR_WORDS =
{"As", "At", "Every"}
Instance Method Summary
- #applies_to : Array(String)
- #check(file_path : String, content : String) : Array(Diagnostic)
- #default_severity : AmberLSP::Rules::Severity
- #description : String
- #id : String
- #requires_amber_project? : Bool