-
-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(
prefer-await-to-then
): ignore constructor scope unless with `s…
…trict` option (#496) Fixes #436 **What is the purpose of this pull request?** - [x] Changes an existing rule **What changes did you make? (Give an overview)** Ignores constructor scope in `prefer-await-to-then` when reporting on use of `then` (unless the `strict` option is enabled). Co-authored-by: Yosuke Ota <otameshiyo23@gmail.com>
- Loading branch information
Showing
3 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters