Skip to content

Commit

Permalink
Add custom setting validation (#12)
Browse files Browse the repository at this point in the history
Custom settings only require `"type": "custom"`
  • Loading branch information
hiimjustin000 authored Jun 30, 2024
1 parent 7f9521f commit 5043ee7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions assets/mod-info-validation.json
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,12 @@
}
},
"required": ["type", "default"]
},
{
"properties": {
"type": { "const": "custom" }
},
"required": ["type"]
}
],
"unevaluatedProperties": false,
Expand Down

0 comments on commit 5043ee7

Please sign in to comment.