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

anchors: Add missing quotes in unused anchor error message #570

Merged
merged 2 commits into from
May 10, 2023

Conversation

adrienverge
Copy link
Owner

anchors: Add missing quotes in unused anchor error message

Existing anchors options use quotes around the anchor name:

2:3       error    found undeclared alias "unknown"  (anchors)
4:3       error    found duplicated anchor "dup"  (anchors)

Let's do the same in the newly-added option forbid-unused-anchors:

5:3       error    found unused anchor "not used"  (anchors)

anchors: Update code style to use single quotes

Like the rest of the project does.

Existing `anchors` options use quotes around the anchor name:

    2:3       error    found undeclared alias "unknown"  (anchors)
    4:3       error    found duplicated anchor "dup"  (anchors)

Let's do the same in the newly-added option `forbid-unused-anchors`:

    5:3       error    found unused anchor "not used"  (anchors)
Like the rest of the project does.
@coveralls
Copy link

coveralls commented May 10, 2023

Coverage Status

Coverage: 99.386%. Remained the same when pulling 4b27710 on fix/anchors-error-message-quotes into f874b66 on master.

@adrienverge adrienverge merged commit 019c87d into master May 10, 2023
12 checks passed
@adrienverge adrienverge deleted the fix/anchors-error-message-quotes branch May 10, 2023 04:56
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.

None yet

2 participants