Registering custom rules format for browser bundled rulesets #2723
Unanswered
JedrzejJanasiak
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
-
I'm trying to bundle a ruleset in a way that is described in the documentation here:
https://meta.stoplight.io/docs/spectral/eb68e7afd463e-spectral-in-java-script#browser
However, what I'm trying to achieve is to load a ruleset with my own definied custom format (my-custom-format) using that method so it could look more like this:
I know there is a method to register a new format to the ruleset:
But I noticed that you can only do it with an already bundled ruleset.
Is there any way to register a new custom format so the bundler would allow it?
Beta Was this translation helpful? Give feedback.
All reactions