Skip to content

Commit

Permalink
docs: improve
Browse files Browse the repository at this point in the history
  • Loading branch information
P0lip committed Oct 28, 2019
1 parent 95b874b commit 4331b60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/getting-started/rulesets.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ rules:
function: truthy
```
Spectral has a built-in set of functions which you can reference in your rules. This example uses the `truthy` to create a rule that checks that the value is true.
Spectral has a built-in set of functions such as `truthy` or `pattern`, which you can reference in your rules.
The example above adds a single rule that checks that tags objects have a description property defined.

Running `spectral lint` on the following object with the ruleset above will result in an error being reported, since the tag does not have a description:
Expand Down

0 comments on commit 4331b60

Please sign in to comment.