Azure / Azure/azure-rest-api-specs
[sdk validation] Return an error if package-dir is added under any emitter options in tspconfig.yaml
Open
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 444
Description
Since we're actively working on deprecating all package-dir usage in tspconfig.yaml files, we should ensure that nobody tries to add that option back into the tspconfig.yaml file. If they do, there should be a PR check that fails.
@raych1 can you help take a look at this?
Contributor guide
Research direction
Locate the tspconfig.yaml validation and the PR check that reports configuration errors; start by tracing how emitter options are parsed and validated. Add coverage for package-dir under every emitter option, and confirm the PR check fails when that option is present.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- yaml
- Domain
- ci-cd, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100