TypeSpec compiler and linter warnings in lint
A compiled TypeSpec project now keeps what the TypeSpec compiler says about it. Every compile runs TypeSpec's built-in linter rules, and each warning is reported by lint with its file and line. Compiler and linter warnings.
- Built-in linter. The
@typespec/http/allruleset runs on every compile, catching issues such as anop isreference that drops its interface's route prefix. - Compiler warnings. Warnings such as
deprecatedare kept too, instead of being discarded. - One rule. Each warning is a
typespec.compiler-diagnosticfinding attsp:<file>:<line>:<column>, its message starting with the TypeSpec diagnostic code.
