Need linter warning for namespace and models with the same name
Open
feature
lib:azure-core
linter
- Dominant language
- TypeScript
- Stars
- 27
- Forks
- 90
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 156
Description
In C# (and possibly other languages) having a namespace named the same as a model (whether via clientName or directly in the spec) will result in build errors. We should warn about this up front to save time and rework.
Contributor guide
Research direction
The issue names no files, tests, or entry points. Start by locating the TypeScript linter implementation and its existing diagnostic tests, then trace how namespace and model names are represented; done means a clear warning appears for the conflicting C# case, including names supplied through clientName.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100