Skip to content

Commit 192580c

Browse files
authored
docs: move a note on YAML to a separate document (#1372)
1 parent 45cedff commit 192580c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

docs/guides/3-javascript.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ spectral
2222
.then(console.log);
2323
```
2424

25-
Please note that by default Spectral supports YAML 1.2 with merge keys extension.
26-
As recommended by the [spec](https://yaml.org/spec/1.2/spec.html#id2804923), tags are resolved according to the "Core Schema."
27-
2825
This will run Spectral with no formats, rules or functions, so it's not going to do anything besides $ref resolving.
2926
Find out how to add formats, rules and functions below.
3027

docs/reference/yaml.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# YAML support
2+
3+
Spectral supports YAML 1.2 with merge keys extension.
4+
5+
As recommended by the [spec](https://yaml.org/spec/1.2/spec.html#id2804923), tags are resolved according to the "Core Schema".

0 commit comments

Comments
 (0)