Skip to content

fix(config): reject config, help, and version keys in config files - #3263

Merged
Lightning00Blade merged 1 commit into
unified-config/03-wsheaders-json-objectfrom
unified-config/04-config-file-validation
Oct 20, 2026
Merged

Lightning00Blade merged 1 commit into
unified-config/03-wsheaders-json-objectfrom
unified-config/04-config-file-validation

Conversation

@Lightning00Blade

Copy link
Copy Markdown
Collaborator

Disables config, help, and version in the yargs parser inside ConfigParser.parseConfigFile so setting those keys in a JSON config file is rejected by .strict() as an unknown argument.

@Lightning00Blade
Lightning00Blade merged commit 19a1610 into unified-config/03-wsheaders-json-object Oct 20, 2026
9 checks passed
@Lightning00Blade
Lightning00Blade deleted the unified-config/04-config-file-validation branch October 20, 2026 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants