Skip to content

Linter usage

Usage

Add the following in tspconfig.yaml:

linter:
extends:
- "@typespec/http/all"

RuleSets

Available ruleSets:

  • @typespec/http/all

Rules

NameDescription
@typespec/http/op-reference-container-routeCheck for referenced (op is) operations which have a @route on one of their containers.