microsoft / microsoft/typespec

Linter System addition Show diagnostic in library at point of usage

Open
#1,997 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.