-
-
Notifications
You must be signed in to change notification settings - Fork 240
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
docs: identify the schema used for Yaml 1.2 tag resolution #1050
Conversation
docs/guides/javascript.md
Outdated
@@ -23,6 +23,7 @@ spectral | |||
``` | |||
|
|||
Please note that by default Spectral supports YAML 1.2 with merge keys extension. | |||
As recommended by the [spec](https://yaml.org/spec/1.2/spec.html#id2804923), tags are resolved according to the "Core schema". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As recommended by the [spec](https://yaml.org/spec/1.2/spec.html#id2804923), tags are resolved according to the "Core schema". | |
As recommended by the [spec](https://yaml.org/spec/1.2/spec.html#id2804923), tags are resolved according to the "Core Schema". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Honestly though, YAML spec isn't clear about the schema 😅.
https://medium.com/@P0lip/yaml-is-great-but-dont-use-it-2d02a60181ab section 6.
@@ -23,6 +23,7 @@ spectral | |||
``` | |||
|
|||
Please note that by default Spectral supports YAML 1.2 with merge keys extension. | |||
As recommended by the [spec](https://yaml.org/spec/1.2/spec.html#id2804923), tags are resolved according to the "Core Schema". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On a slightly unrelated note - we could move these 2 sentences elsewhere in future, to some more general document.
Fixes #936
Checklist
Does this PR introduce a breaking change?