Skip to content

Commit 1cc57ff

Browse files
committed
fix: add new instruction
1 parent 106150b commit 1cc57ff

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

spectral/README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@ To use this Spectral ruleset add the following to your `.spectral.yaml`:
1212
extends: '@rhoas/spectral-ruleset'
1313
```
1414
15-
Run the Spectral CLI:
15+
Alternatively you need to create new ruleset
16+
17+
`
18+
echo "extends: '@rhoas/spectral-ruleset'" > .spectral.yaml
19+
`
20+
21+
Run the Spectral CLI:
1622
1723
```shell
1824
npm install -g @stoplight/[email protected]

0 commit comments

Comments
 (0)