-
Notifications
You must be signed in to change notification settings - Fork 23
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
Setting for --ignore-unknown-format
.
#24
Comments
@patrickDouglas It's highly possible setting this setting to Running Spectral usually puts the user in a "I'm gonna lint those" mood and accept the warnings. However, while working in VSCode against completely unrelated files (think Thoughts? |
Haha, didn't even think of that and yeah, you wouldn't want that. I guess you'd have to enable it in conjunction with the |
I’m expecting this feature to help: stoplightio/spectral#1021
If we can tell spectral specifics about what files are what formats then this will all be less of an issue.
|
@patrickDouglas I strongly agree with that, but we would need stoplightio/spectral#1124 to land. And its priority isn't quite high at this moment. Would you feel like giving a hand contributing it? I'd be happy to support you during that process. Meanwhile I'll work on stoplightio/spectral#1021 and stoplightio/spectral#1283 to improve the overall UX. |
Describe the solution you'd like
It would be nice to be able to have a boolean Setting that would allow for
--ignore-unknown-format
.Additional context
Once
unrecognized-format
is "tweakable" in a ruleset via stoplightio/spectral#1124, this Setting should be able to be removed in favor of just using the ruleset approach.Another suggest idea would be to have the option to pull in our configured Spectral object instead, which would allow the user to configure Spectral as they need, without the need to add new Settings. This would also resolve: #23.
The text was updated successfully, but these errors were encountered: