Skip to content

Commit d45536f

Browse files
author
Enda
authored
Fix invalid command in README (#13)
1 parent 85442bc commit d45536f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

spectral/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,12 @@ To use this Spectral ruleset add the following to your `.spectral.yaml`:
1010

1111
```yaml
1212
extends: '@rhoas/spectral-ruleset'
13-
rules:
14-
# add your custom rules here
1513
```
1614
1715
Run the Spectral CLI:
1816
1917
```shell
20-
npx @stoplight/spectral ./path/to/openapi.yaml
18+
npx @stoplight/spectral lint ./path/to/openapi.yaml
2119
```
2220

2321
## Rules

0 commit comments

Comments
 (0)