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: update pattern format #190

Merged
merged 9 commits into from
Apr 13, 2024
Merged

fix: update pattern format #190

merged 9 commits into from
Apr 13, 2024

Conversation

morgante
Copy link
Contributor

@morgante morgante commented Apr 13, 2024

Improve standardization of patterns to prepare for getgrit/gritql#221

Requires getgrit/gritql#221

@morgante morgante merged commit f053442 into main Apr 13, 2024
@morgante morgante deleted the update-patterns branch April 13, 2024 18:32
tags: [java]
---

# "BigDecimal(double)" should not be used
Copy link
Contributor

Choose a reason for hiding this comment

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

I feel like using h1 as the title is more self-descriptive for patterns as opposed to relying on the title frontmatter.

In general, I think a good litmus test here is for the frontmatter to be completely optional by default, and I think this change moves in the opposite direction.

Thoughts?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Both are allowed - frontmatter is optional, and you can just use h1. In this case we had both so I removed one.

Many patterns still use an H1.

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.

3 participants