You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: validator/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ It is configured [in the specification directory](../specification/eslint.config
9
9
|---------------------------------------| - |
10
10
|`single-key-dictionary-key-is-string`|`SingleKeyDictionary` keys must be strings. |
11
11
|`dictionary-key-is-string`|`Dictionary` keys must be strings. |
12
-
|`no-native-types`|TypeScript native utility types (`Record`, `Partial`, etc.) and collection types (`Map`, `Set`, etc.) are not allowed. Use spec-defined aliases like `Dictionary` instead. |
12
+
|`no-native-types`|`Typescript native types not allowed, use aliases. |
13
13
|`invalid-node-types`| The spec uses a subset of TypeScript, so some types, clauses and expressions are not allowed. |
14
14
|`no-inline-unions`| Inline union types (e.g., `field: A \| B`) are not allowed in properties/fields. Define a named type alias instead to improve code generation for statically-typed languages. |
15
15
|`prefer-tagged-variants`| Union of class types should use tagged variants (`@variants internal` or `@variants container`) instead of inline unions for better deserialization support in statically-typed languages. |
0 commit comments