jmlue42 / spectral-jsonapi-ruleset

A Stoplight/Spectral linting ruleset for the JSON:API specification.
MIT License
12 stars 8 forks source link

Make available through unpkg #35

Closed lifehackett closed 8 months ago

lifehackett commented 1 year ago

Per the docs you can use an http reference to extend a ruleset. When I try to access your ruleset via unpkg.com I get the following error

Cannot find package spectral-jsonapi-ruleset@latest

I believe this is because you haven't created the tag latest. Can you add that please?

marquje commented 8 months ago

Apologies for the super long response time. This status of this project was in flux for quite a while and has just gone through a large overhaul to be Stoplight.io styleguide friendly.

unpkg.com doesn't have this package as we have not published it to npm as of yet.

If you wish to use the Spectral http method you could point to the raw file on github:

https://[raw.githubusercontent.com/jmlue42/spectral-jsonapi-ruleset/main/.spectral.yml](https://raw.githubusercontent.com/jmlue42/spectral-jsonapi-ruleset/main/.spectral.yml)