apisyouwonthate / style-guide

A shared and somewhat opinionated style guide for everyone to enjoy.
141 stars 20 forks source link

Does this work with VS Code still? #39

Closed dphuang2 closed 1 year ago

dphuang2 commented 2 years ago

Followed directions in the README and seeing this output in VS Code:

[Error - 6:02:47 PM] An error occurred while validating document /Users/dylanhuang/Git/konfig-monorepo/misc/getting-started-example/petstore.yaml: Unable to read ruleset at /Users/dylanhuang/Git/konfig-monorepo/misc/getting-started-example/.spectral.yaml. Error: Could not load https://unpkg.com/@apisyouwonthate/style-guide@1.3.2/dist/%00@stoplight/spectral-functions%3Fcommonjs-require (imported by https://unpkg.com/@apisyouwonthate/style-guide@1.3.2/dist/ruleset.js): Error fetching https://unpkg.com/@apisyouwonthate/style-guide@1.3.2/dist/%00@stoplight/spectral-functions%3Fcommonjs-require: Bad Request
seenDependencies (before): 0.

Then spectral fails to run of course.

philsturgeon commented 1 year ago

It should work now. VS Code was having a bit of a wobble. Can you confirm?

philsturgeon commented 1 year ago

I'm gonna go with Yes unless told otherwise. 🙌