Commit 9bcf51e
authored
fix: Replace deprecated scope.resolve method (#70)
As pointed out in the developer guide
https://eslint.org/docs/developer-guide/scope-manager-interface#deprecated-members-2
scope.resolve method is deprecated. For that reason it was not implemented
in typescript-eslint/typescript-eslint and no-unnecessary-waiting rule
fails with version 4.x of the typescript eslint parser.
The eslint developer guide suggest to use `scope.references.find` instead.1 parent d4263fb commit 9bcf51e
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
| 60 | + | |
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
| |||
0 commit comments