microsoft / microsoft/typespec
Linter System addition Show diagnostic in library at point of usage
Open
- Dominant language
- Java
- Stars
- 5.9k
- Forks
- 394
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 104
Description
https://gist.github.com/timotheeguerin/95d4eea064ccfa0db64d9bf90e1597a6
```
model Foo {
bar: Foo; // Would complain here because Bar is having issues
}
// in ./node_modules/my-lib/lib.tsp
model Bar {
// warn same name as enclosing model
bar: string;
}
```
Note that this might be actually not necessarly be an issue with the linter only but with any diagnostics in general
Contributor guide
Assessment
This issue has not been assessed yet.