Cadl Library Linter
Install the package as a dev dependency.
npm install -D @cadl-lang/library-linter
Compile your library package. Any errors or warnings will be reported as cadl diagnostics.
# At the root of your cadl library. cadl compile . --import @cadl-lang/library-linter
Cadl Library Best rules and best practices
||Validate that every exported element from the library(Models, JS functions, operations, etc.) is in a namespace.|