-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
extensions
: how to specify a default while specifying granular extensions?
#390
Comments
(Similarly, I should be able to specify "never" and have a specific extension be "always") It's not clear to me how to ensure that. |
Ah, interesting. I'm not sure how you'd do that, either. Sounds like a reasonable goal though. |
My thinking was that the schema would allow a string and an object - the string constitutes the default, and the object has granular overrides. |
Any update on this? |
I like your proposal:
Don't think it constitutes a breaking change, since the first arg can still be a string or object, but the second one must be an object if the first is a string, and the second must not be provided if the first is an object. I'm not planning on working on this anytime soon. I'd be happy to accept and ship a PR, though. |
Finally filed #555 to fix this :-) |
Yay, thanks! Waiting patiently now for the release :-) |
I'd like the default to be "always" but i'd like
js
andjsx
to be "never". How do I specify this? The schema only allows a string, or an object, but not both.The text was updated successfully, but these errors were encountered: