Skip to content

Commit

Permalink
improve check-compatibility-tables
Browse files Browse the repository at this point in the history
  • Loading branch information
slavaleleka committed Jul 19, 2023
1 parent a5b3f70 commit 691c0c5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/agtree/scripts/check-compatibility-tables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@ const SCHEMA_MAP = {
if (config.block_only && config.exception_only) {
return 'block_only and exception_only are mutually exclusive';
}

if (config.assignable && !config.value_format) {
return 'value_format is required for assignable modifiers';
}
return true;
},
)),
Expand Down

0 comments on commit 691c0c5

Please sign in to comment.