Skip to content

Commit 95f26c7

Browse files
committed
chore: set nullable-type-sibling to warn in minimal ruleset
1 parent dbec81e commit 95f26c7

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

docs/@v2/rules/minimal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ Errors:
1111
- [no-server-trailing-slash](./oas/no-server-trailing-slash.md)
1212
- [no-server-variables-empty-enum](./oas/no-server-variables-empty-enum.md)
1313
- [no-unresolved-refs](./oas/no-unresolved-refs.md)
14-
- [nullable-type-sibling](./oas/nullable-type-sibling.md)
1514
- [struct](./oas/struct.md)
1615
- [stepId-unique](./arazzo/stepId-unique.md)
1716
- [workflowId-unique](./arazzo/workflowId-unique.md)
@@ -29,6 +28,7 @@ Warnings:
2928
- [no-server-example.com](./oas/no-server-example-com.md)
3029
- [no-undefined-server-variable](./oas/no-undefined-server-variable.md)
3130
- [no-unused-components](./oas/no-unused-components.md)
31+
- [nullable-type-sibling](./oas/nullable-type-sibling.md)
3232
- [operation-2xx-response](./oas/operation-2xx-response.md)
3333
- [operation-operationId-unique](./oas/operation-operationId-unique.md)
3434
- [operation-operationId-url-safe](./oas/operation-operationId-url-safe.md)

docs/@v2/rules/ruleset-templates.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ rules:
106106
operation-singular-tag: off
107107
no-unresolved-refs: error
108108
no-enum-type-mismatch: warn
109-
nullable-type-sibling: error
109+
nullable-type-sibling: warn
110110
paths-kebab-case: off
111111
struct: error
112112
spec-strict-refs: off
@@ -379,6 +379,7 @@ rules:
379379
operation-singular-tag: off
380380
no-unresolved-refs: error
381381
no-enum-type-mismatch: error
382+
nullable-type-sibling: error
382383
paths-kebab-case: off
383384
struct: error
384385
spec-strict-refs: off

packages/core/src/config/minimal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ const minimal: RawGovernanceConfig<'built-in'> = {
7979
'no-unused-components': 'warn',
8080
'no-undefined-server-variable': 'warn',
8181
'no-server-variables-empty-enum': 'error',
82-
'nullable-type-sibling': 'error',
82+
'nullable-type-sibling': 'warn',
8383
'operation-summary': 'warn',
8484
'operation-operationId': 'warn',
8585
'operation-operationId-unique': 'warn',

0 commit comments

Comments
 (0)