Version spectral default ruleset #2354
Unanswered
markbrockhoff
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I use the default spectral oas ruleset to extend it with my own custom rules. I would like to pin a specific version of the default ruleset so that my rules are more reliable and won't change without me being aware of it.
I tried to do this by using unpkg but I always get an error that says "Exports is not defined".
spectral lint -r spectral.yml https://petstore.swagger.io/v2/swagger.json --verbose
Has anyone experience with versioning the default ruleset?
Beta Was this translation helpful? Give feedback.
All reactions