You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(node:99880) DeprecationWarning: "no-incorrect-once-usage" rule is
using `context.getScope()`, which is deprecated and will be removed
in ESLint v9. Please use `sourceCode.getScope()` instead. (Use `node
--trace-deprecation ...` to show where the warning was created)
Notes:
Consider:
```
L1: const x = 1
L2: const y = 2, z = 3
```
There are two `VariableDeclaration` here (L1, L2). L1 node.declarations is `[x=1]`. L2 node.declarations is `[y=2, z=3]`.
Whether you take the root node level (L1/L2) or the individual declarations in each root, the scope is the same.
0 commit comments