Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No private usage linter rule #1193

Merged
merged 4 commits into from
Aug 5, 2024

Conversation

timotheeguerin
Copy link
Member

@timotheeguerin timotheeguerin commented Jul 17, 2024

fix #977
Add new linter rule to prevent using items from Private namespace from an external library.

@azure-sdk
Copy link
Collaborator

azure-sdk commented Jul 17, 2024

All changed packages have been documented.

  • @azure-tools/typespec-azure-core
  • @azure-tools/typespec-azure-rulesets
Show changes

@azure-tools/typespec-azure-core - feature ✏️

Add new linter rule to prevent using items from Private namespace from an external library.

@azure-tools/typespec-azure-rulesets - feature ✏️

Add new no-private-usage linter rule to data-plane and resource-manager rulesets

@azure-sdk
Copy link
Collaborator

You can try these changes here

🛝 Playground 🌐 Website 📚 Next docs

@timotheeguerin timotheeguerin added this pull request to the merge queue Aug 5, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a conflict with the base branch Aug 5, 2024
@timotheeguerin timotheeguerin added this pull request to the merge queue Aug 5, 2024
Merged via the queue into Azure:main with commit 1726967 Aug 5, 2024
20 of 22 checks passed
@timotheeguerin timotheeguerin deleted the no-private-linter-rule branch August 5, 2024 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Linter rule] Add warning if service spec uses internal .Private namespace
3 participants