Skip to content

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Nov 27, 2025

Implement function for merging rule options from config with the rule's default options.

This function is not currently used, as we don't have a way to get options from config over from Rust to JS yet, but I've implemented it now, as it's also needed for the rule tester (#16206).

@github-actions github-actions bot added A-linter Area - Linter A-cli Area - CLI A-linter-plugins Area - Linter JS plugins C-enhancement Category - New feature or request labels Nov 27, 2025
Copy link
Member Author

overlookmotel commented Nov 27, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copy link
Member Author

overlookmotel commented Nov 27, 2025

Merge activity

Implement function for merging rule options from config with the rule's default options.

This function is not currently used, as we don't have a way to get options from config over from Rust to JS yet, but I've implemented it now, as it's also needed for the rule tester (#16206).
graphite-app bot pushed a commit that referenced this pull request Nov 27, 2025
…ons (#16216)

Pure refactor. Split JSON merging into multiple functions, exposing `deepFreezeJsonObject` and `deepFreezeJsonArray` methods. These are needed for merging rule options (#16217).
@graphite-app graphite-app bot force-pushed the 11-27-refactor_linter_plugins_split_json_deep_freeze_into_multiple_functions branch from 41ceafc to 8881d7f Compare November 27, 2025 22:33
@graphite-app graphite-app bot force-pushed the 11-27-feat_linter_plugins_implement_options_merging branch from d89782f to 3226864 Compare November 27, 2025 22:33
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Nov 27, 2025
Base automatically changed from 11-27-refactor_linter_plugins_split_json_deep_freeze_into_multiple_functions to main November 27, 2025 22:38
@graphite-app graphite-app bot added the 0-merge Merge with Graphite Merge Queue label Nov 27, 2025
@graphite-app graphite-app bot merged commit 3226864 into main Nov 27, 2025
19 checks passed
@graphite-app graphite-app bot deleted the 11-27-feat_linter_plugins_implement_options_merging branch November 27, 2025 23:02
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Nov 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-cli Area - CLI A-linter Area - Linter A-linter-plugins Area - Linter JS plugins C-enhancement Category - New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants