-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
feat(eslint-plugin): update types to allow parameter type inferrence #272
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
feat(eslint-plugin): update types to allow parameter type inferrence #272
Conversation
5fa959a
to
9d42371
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is really good idea, and its going to simplify usage,
i left you few notes but LGTM
Awesome work! LGTM, will approve once you've addressed the comments |
By adding a all of the possible members with specific RuleFunction type this is allowing rule authors to write rules without specifying parameter types in their token methods Also updates all of the existing rules to not specify type of node when it is inferred
9d42371
to
d80eba6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
undo the addition of the code path selectors and then we're good to go
0999687
to
a855f0c
Compare
@bradzacher I think this is good to go then |
By adding a all of the possible members with specific RuleFunction type
this is allowing rule authors to write rules without specifying
parameter types in their token methods
Also updates all of the existing rules to not specify type of node when
it is inferred