Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] order: codify invariants from docs into config schema #3152

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

Xunnamius
Copy link
Contributor

Updating schema wrt #3127 (comment)

@ljharb
Copy link
Member

ljharb commented Jan 26, 2025

This PR seems to have too much stuff in it - but either way, if a rule or option is already released, its schema can’t be tightened further.

@Xunnamius
Copy link
Contributor Author

Xunnamius commented Jan 27, 2025

@ljharb It seems like it has a lot because it's on top of the consolidateIslands PR (rather than main so the schema changes can run against the latest tests), but the two new commits are tiny and only touch the schema and two tests. I can pull the lines around dependencies/consolidateIslands one commit up into the consolidateIslands PR if desired :) EDIT: I can also rebase onto main and decouple from the other PRs, but not hitting all the new tests plus no direct tests of the schema makes me a bit nervous.

As for the tightening of existing options, I assume you're talking about lines 865 and 866 for pathGroupsExcludedImportTypes? I can revert those. I did add a comment to the groups schema warning that additional validation happens elsewhere, and added two newlines to the named schema for consistency, but those changes should be just cosmetic.

@ljharb
Copy link
Member

ljharb commented Jan 27, 2025

In that case, I'll wait to review this since it needs to wait on #3129

@ljharb ljharb marked this pull request as draft January 27, 2025 05:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants