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

Feature - Ability to extend the default patterns #38

Merged
merged 2 commits into from
Jan 2, 2024
Merged

Feature - Ability to extend the default patterns #38

merged 2 commits into from
Jan 2, 2024

Conversation

roycrippen4
Copy link
Contributor

This PR allows users to pass in a patterns table and a overrideDefaults boolean into the customPatterns table. The changes are backwards compatible and type safe. Users can continue to use the customPatterns in the same way they are currently (no breaking changes). Or they can choose to use the new options to extend the default patterns with their own patterns.

Cliff notes (will expand in more detail in PR):

1. Added ability to pass in a patterns table and a overrideDefaults boolean.
2. Backwards compatible.
3. Updated README.
@chrisgrieser
Copy link
Owner

Good idea.

It seems you have used a formatter on the readme, introducing lots of changes? Could you undo those, so the PR has a clean diff?

Copy link
Owner

@chrisgrieser chrisgrieser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Also, thanks for properly adding comments and type annotations.

@chrisgrieser chrisgrieser merged commit 2801c2f into chrisgrieser:main Jan 2, 2024
@roycrippen4
Copy link
Contributor Author

No problem! Thanks for making a great plugin

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