Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add warning for aliases & anchors ending with a colon #370

Merged
merged 1 commit into from
Mar 20, 2022
Merged

Conversation

eemeli
Copy link
Owner

@eemeli eemeli commented Mar 15, 2022

Fixes #350, CC @bwateratmsft

After some consideration, the current error is exactly valid for the given input. So, to clarify the situation, let's add a warning for anchors and aliases that end in a colon :, as those are probably erroneous.

This warning (as well as other warnings) may be silenced by using the option logLevel: 'error'.

@eemeli eemeli merged commit 58f82e1 into master Mar 20, 2022
@eemeli eemeli deleted the danger-colon branch March 20, 2022 07:48
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BAD_INDENT when using aliases as keys
1 participant