Skip to content

Commit

Permalink
docs: identify the schema used for Yaml 1.2 tag resolution (#1050)
Browse files Browse the repository at this point in the history
* chore(doc): Identify the schema used for Yaml 1.2 tag resolution

* docs: Update docs/guides/javascript.md

Co-authored-by: Jakub Rożek <[email protected]>
Co-authored-by: Phil Sturgeon <[email protected]>
  • Loading branch information
3 people authored Apr 1, 2020
1 parent 3ba2aa9 commit b37e93d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/guides/javascript.md
Original file line number Diff line number Diff line change
Expand Up @@ -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".

This will run Spectral with no formats, rules or functions, so it's not going to do anything besides $ref resolving.
Find out how to add formats, rules and functions below.
Expand Down

0 comments on commit b37e93d

Please sign in to comment.