Skip to content

Commit

Permalink
Enable friendly name rule (#1194)
Browse files Browse the repository at this point in the history
fix #1171
  • Loading branch information
timotheeguerin committed Aug 5, 2024
1 parent dc8e361 commit c0ff005
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: feature
packages:
- "@azure-tools/typespec-azure-rulesets"
---

Add `friendly-name` rule to `data-plane` and `resource-manager` rulesets
4 changes: 1 addition & 3 deletions packages/typespec-azure-rulesets/src/rulesets/data-plane.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ export default {
"@azure-tools/typespec-azure-core/use-standard-names": true,
"@azure-tools/typespec-azure-core/use-standard-operations": true,
"@azure-tools/typespec-azure-core/no-string-discriminator": true,

// Rules to enable later https://github.com/Azure/typespec-azure/issues/1171
"@azure-tools/typespec-azure-core/friendly-name": false,
"@azure-tools/typespec-azure-core/friendly-name": true,

// Azure core rules enabled via an optional rulesets
"@azure-tools/typespec-azure-core/non-breaking-versioning": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ export default {
"@azure-tools/typespec-azure-core/use-standard-names": true,
"@azure-tools/typespec-azure-core/use-standard-operations": true,
"@azure-tools/typespec-azure-core/no-string-discriminator": true,

// Rules to enable later https://github.com/Azure/typespec-azure/issues/1171
"@azure-tools/typespec-azure-core/friendly-name": false,
"@azure-tools/typespec-azure-core/friendly-name": true,

// Azure core not enabled - Arm has its own conflicting rule
"@azure-tools/typespec-azure-core/bad-record-type": false,
Expand Down

0 comments on commit c0ff005

Please sign in to comment.