Skip to content

Commit f797e60

Browse files
iscai-msftCopilot
andcommitted
regen docs for no-reserved-words rule
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 3267f5a commit f797e60

File tree

2 files changed

+18
-10
lines changed
  • packages/typespec-client-generator-core
  • website/src/content/docs/docs/libraries/typespec-client-generator-core/reference

2 files changed

+18
-10
lines changed

packages/typespec-client-generator-core/README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,18 @@ Available ruleSets:
100100

101101
- `@azure-tools/typespec-client-generator-core/all`
102102
- `@azure-tools/typespec-client-generator-core/best-practices:csharp`
103+
- `@azure-tools/typespec-client-generator-core/best-practices:python`
104+
- `@azure-tools/typespec-client-generator-core/best-practices:java`
105+
- `@azure-tools/typespec-client-generator-core/best-practices:javascript`
103106

104107
## Rules
105108

106-
| Name | Description |
107-
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
108-
| [`@azure-tools/typespec-client-generator-core/require-client-suffix`](https://azure.github.io/typespec-azure/docs/libraries/typespec-client-generator-core/rules/require-client-suffix) | Client names should end with 'Client'. |
109-
| [`@azure-tools/typespec-client-generator-core/property-name-conflict`](https://azure.github.io/typespec-azure/docs/libraries/typespec-client-generator-core/rules/property-name-conflict) | Avoid naming conflicts between a property and a model of the same name. |
110-
| [`@azure-tools/typespec-client-generator-core/no-unnamed-types`](https://azure.github.io/typespec-azure/docs/libraries/typespec-client-generator-core/rules/no-unnamed-types) | Requires types to be named rather than defined anonymously or inline. |
109+
| Name | Description |
110+
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
111+
| [`@azure-tools/typespec-client-generator-core/require-client-suffix`](https://azure.github.io/typespec-azure/docs/libraries/typespec-client-generator-core/rules/require-client-suffix) | Client names should end with 'Client'. |
112+
| [`@azure-tools/typespec-client-generator-core/property-name-conflict`](https://azure.github.io/typespec-azure/docs/libraries/typespec-client-generator-core/rules/property-name-conflict) | Avoid naming conflicts between a property and a model of the same name. |
113+
| [`@azure-tools/typespec-client-generator-core/no-unnamed-types`](https://azure.github.io/typespec-azure/docs/libraries/typespec-client-generator-core/rules/no-unnamed-types) | Requires types to be named rather than defined anonymously or inline. |
114+
| [`@azure-tools/typespec-client-generator-core/no-reserved-words`](https://azure.github.io/typespec-azure/docs/libraries/typespec-client-generator-core/rules/no-reserved-words) | Warns when identifiers conflict with reserved words in target languages (Python, C#, Java, JavaScript). |
111115

112116
## Decorators
113117

website/src/content/docs/docs/libraries/typespec-client-generator-core/reference/linter.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,15 @@ Available ruleSets:
1818
1919
- `@azure-tools/typespec-client-generator-core/all`
2020
- `@azure-tools/typespec-client-generator-core/best-practices:csharp`
21+
- `@azure-tools/typespec-client-generator-core/best-practices:python`
22+
- `@azure-tools/typespec-client-generator-core/best-practices:java`
23+
- `@azure-tools/typespec-client-generator-core/best-practices:javascript`
2124

2225
## Rules
2326

24-
| Name | Description |
25-
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
26-
| [`@azure-tools/typespec-client-generator-core/require-client-suffix`](https://azure.github.io/typespec-azure/docs/libraries/typespec-client-generator-core/rules/require-client-suffix) | Client names should end with 'Client'. |
27-
| [`@azure-tools/typespec-client-generator-core/property-name-conflict`](https://azure.github.io/typespec-azure/docs/libraries/typespec-client-generator-core/rules/property-name-conflict) | Avoid naming conflicts between a property and a model of the same name. |
28-
| [`@azure-tools/typespec-client-generator-core/no-unnamed-types`](https://azure.github.io/typespec-azure/docs/libraries/typespec-client-generator-core/rules/no-unnamed-types) | Requires types to be named rather than defined anonymously or inline. |
27+
| Name | Description |
28+
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
29+
| [`@azure-tools/typespec-client-generator-core/require-client-suffix`](https://azure.github.io/typespec-azure/docs/libraries/typespec-client-generator-core/rules/require-client-suffix) | Client names should end with 'Client'. |
30+
| [`@azure-tools/typespec-client-generator-core/property-name-conflict`](https://azure.github.io/typespec-azure/docs/libraries/typespec-client-generator-core/rules/property-name-conflict) | Avoid naming conflicts between a property and a model of the same name. |
31+
| [`@azure-tools/typespec-client-generator-core/no-unnamed-types`](https://azure.github.io/typespec-azure/docs/libraries/typespec-client-generator-core/rules/no-unnamed-types) | Requires types to be named rather than defined anonymously or inline. |
32+
| [`@azure-tools/typespec-client-generator-core/no-reserved-words`](https://azure.github.io/typespec-azure/docs/libraries/typespec-client-generator-core/rules/no-reserved-words) | Warns when identifiers conflict with reserved words in target languages (Python, C#, Java, JavaScript). |

0 commit comments

Comments
 (0)