Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update version of embedded spectral #44

Closed
yspotts opened this issue Nov 28, 2022 · 1 comment
Closed

Update version of embedded spectral #44

yspotts opened this issue Nov 28, 2022 · 1 comment

Comments

@yspotts
Copy link

yspotts commented Nov 28, 2022

The version of the embedded spectral is 6.2.1.

The latest version of spectral is 6.6.0.

Unfortunately, the older version contains backward compatibility issues, most significantly around how aliases are defined. (see stoplightio/spectral#2085 and stoplightio/spectral#2033)

The latest spectral URL style guide makes use of aliases; without the latest version of spectral, this style guide cannot be used as is.

@markbrockhoff
Copy link
Member

Hi, thanks for the report and sorry for the delayed response.
We wanted to make the setup of the plugin as easy as possible by bundling the CLI with it. But we also noticed the downsides of this approach and decided to no longer bundle it with our latest version 2.0.0.
From now on the spectral cli installed on your system will be used for linting. This should fix most of the problems the plugin hat till now.
Please feel free to upgrade and try it out with the latest version of the spectral CLI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants