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

Remove y-023 from lint, add y-022 thru y-025 tests #694

Merged
merged 1 commit into from
May 22, 2024

Conversation

vr8hub
Copy link
Contributor

@vr8hub vr8hub commented May 21, 2024

Per discussion, this removes y-023. (I've tried several ways and can't figure out the t-003 change, so I'll leave that with you; it works right now, it's just regex instead of xpath, so it's not pressing). Per another issue I opened a few minutes ago, the rdquo test in y-025 duplicates y-012 (but not vice-versa), so I removed it. I also clarified the message on y-025, because what was there did not align with what was actually being checked (I've been confused by that message on more than one occasion, and have had to look at the code each time).

@@ -474,7 +474,6 @@
"y-019”, "Possible typo: [text]”[/] without opening [text]“[/]."
"y-020”, "Possible typo: consecutive comma-period ([text],.[/])."
"y-022”, "Possible typo: consecutive quotations without intervening text, e.g. [text]“…” “…”[/]."
"y-023”, "Possible typo: two opening quotation marks in a run. Hint: Nested quotes should switch between [text]“[/] and [text]‘[/]"
"y-024”, "Possible typo: dash before [text]the/there/is/and/they/when[/] probably should be em-dash."
"y-025”, "Possible typo: comma without space followed by quotation mark."
Copy link
Member

Choose a reason for hiding this comment

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

Can you also change the message in the comment?

Copy link
Member

Choose a reason for hiding this comment

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

For y-025

@vr8hub
Copy link
Contributor Author

vr8hub commented May 22, 2024

Yep, sorry, I forgot about that, done.

Per your other message, I already had a comment on here that rdquo was handled by y-012.

@acabal
Copy link
Member

acabal commented May 22, 2024

Thanks!

@acabal acabal merged commit a513974 into standardebooks:master May 22, 2024
1 check passed
@vr8hub vr8hub deleted the y022_y025_tests branch May 22, 2024 20:38
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