aws / aws-toolkit-vscode

Amazon Q, CodeCatalyst, Local Lambda debug, SAM/CFN syntax, ECS Terminal, AWS resources
https://marketplace.visualstudio.com/items?itemName=AmazonWebServices.amazon-q-vscode
Apache License 2.0
1.47k stars 408 forks source link

fix: eslint DeprecationWarning #5287

Closed justinmk3 closed 2 months ago

justinmk3 commented 2 months ago

Problem

(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)

Solution

update rule

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.