Linter usage
Add the following in tspconfig.yaml
:
linter: extends: - "@typespec/http/all"
RuleSets
Section titled “RuleSets”Available ruleSets:
@typespec/http/all
Name | Description |
---|---|
@typespec/http/op-reference-container-route | Check for referenced (op is ) operations which have a @route on one of their containers. |