Skip to content

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

Merged
eemeli merged 1 commit into
masterfrom
danger-colon
Mar 20, 2022
Merged

Add warning for aliases & anchors ending with a colon#370
eemeli merged 1 commit into
masterfrom
danger-colon

Conversation

@eemeli

@eemeli eemeli commented Mar 15, 2022

Copy link
Copy Markdown
Owner

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
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.

BAD_INDENT when using aliases as keys

1 participant