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(front_matter): Move exports to their own module #3634

Merged
merged 7 commits into from
Sep 14, 2023

Conversation

JakeAve
Copy link
Contributor

@JakeAve JakeAve commented Sep 12, 2023

Cleaning up front_matter per #3601. Moved createExtractor and test to their own modules. Copied tests into respective test files.

I'm looking for guidance because in trying to recycle the regex patterns by moving them to a formats module, we technically have two exports there.

Copy link
Member

Choose a reason for hiding this comment

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

let's use snake_case for file names

Copy link
Member

Choose a reason for hiding this comment

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

I'd suggest we should keep this private (i.e. prefix the file name with _) as this looks exposing too much internal details.)

@kt3k
Copy link
Member

kt3k commented Sep 13, 2023

Thanks for the PR. Mostly looks good to me. Left a few comments

Copy link
Member

@kt3k kt3k left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@kt3k kt3k merged commit 4159f9b into denoland:main Sep 14, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants