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

Quote is required even if it begins with backquote. #440

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

k1LoW
Copy link
Sponsor Contributor

@k1LoW k1LoW commented Mar 28, 2024

Before submitting your PR, please confirm the following.

  • Describe the purpose for which you created this PR.
  • Create test code that corresponds to the modification

Hi @goccy!

I noticed when using a mix of goccy/go-yaml and go-yaml/yaml that backquotes also cannot be used at the beginning of a token.

https://go.dev/play/p/ysabzaYClh3

I also got an error at https://www.yamllint.com/.

According to https://yaml.org/spec/1.2.2/ backquote (`) is reserved.

The “@” (x40, at) and “`” (x60, grave accent) are reserved for future use.

Thank you.

@codecov-commenter
Copy link

Codecov Report

Merging #440 (e8b0e1d) into master (4653a1b) will not change coverage.
The diff coverage is 100.00%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #440   +/-   ##
=======================================
  Coverage   76.02%   76.02%           
=======================================
  Files          13       13           
  Lines        4692     4692           
=======================================
  Hits         3567     3567           
  Misses        866      866           
  Partials      259      259           

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