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

Add --split-by option #162

Merged
merged 1 commit into from
Oct 25, 2022
Merged

Add --split-by option #162

merged 1 commit into from
Oct 25, 2022

Conversation

bmish
Copy link
Owner

@bmish bmish commented Oct 23, 2022

Fixes #22.

Allows the rules list to be split into multiple lists based on an arbitrary property on the rules. Will unblock adoption in multiple plugins.

TODO

  • Support nested property paths like docs.category
  • Refactor logic
  • Smarter handling of booleans
  • More tests
  • values.has(undefined) consider more values

@bmish bmish added the enhancement New feature or request label Oct 23, 2022
@bmish bmish force-pushed the split-by branch 8 times, most recently from 83e6968 to dc2c4c1 Compare October 25, 2022 15:27
@bmish bmish marked this pull request as ready for review October 25, 2022 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add option to split rule list by meta.docs.category or potentially other criteria
1 participant