Skip to content

Conversation

madbence
Copy link
Contributor

@madbence madbence commented May 27, 2019

It seems like the rule is already smart enough to not check special methods (get, set, and constructor kinds), so i just added regression tests for them. As these kinds of methods cannot be marked async, the rule shouldn't check them in the first place.

refs #553

@madbence madbence force-pushed the add-invalid-ts-cases branch from a67c694 to 52b4696 Compare May 27, 2019 09:55
@madbence madbence changed the title [promise-function-async] Add regression tests for invalid async modifiers test(eslint-plugin): [promise-function-async] Add regression tests for invalid async modifiers May 27, 2019
@bradzacher bradzacher merged commit bba42eb into typescript-eslint:master May 28, 2019
@madbence madbence deleted the add-invalid-ts-cases branch May 28, 2019 19:40
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants