Skip to content

Commit 2b7ea9f

Browse files
authored
Reorders enum varname entries for consistency (#552)
Corrects the sequence of enum variable names by placing 'hidden' after 'plus18' to match enum order, improving consistency and clarity in the AgeVerificationStatus schema.
1 parent a499f84 commit 2b7ea9f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export default configure({
115115
"yaml/sort-sequence-values": [
116116
"error",
117117
{
118-
pathPattern: ".*",
118+
pathPattern: "^(?!.*x-enum-varnames).*",
119119
order: [
120120
{
121121
order: {

openapi/components/schemas/AgeVerificationStatus.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ enum:
99
- hidden
1010
- verified
1111
x-enum-varnames:
12-
- hidden
1312
- plus18
13+
- hidden
1414
- verified

0 commit comments

Comments
 (0)