-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Support augmented global properties #233
Labels
enhancement
New feature or request
Comments
When this is explored, maybe it is time to move this library/feature to the eslint main repository. 🤔 |
That would be nice, especially now with the Flat Config users can alias plugins to have different prefixes, this would also such configs still provide type safety |
This was referenced Sep 29, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Vue has something like this: https://vuejs.org/guide/typescript/options-api.html#augmenting-global-properties
@antfu suggested to try out to support this, so plugin authors can define their own TypeScript definitions and
eslint-define-config
would then just use these.So code in the specific plugin projects would look like this:
The text was updated successfully, but these errors were encountered: