eslint(prefer-destructuring) appears to have a safe fix, but it's not suggested in VSCode, like other fixes
#17640
hamirmahal
started this conversation in
General
Replies: 3 comments 3 replies
-
|
https://github.com/hamirmahal/oxc-object-literal-no-quick-fix-in-vscode reproduces the issue. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Here's a screen recording of the issue in VSCode. no-vscode-quick-fix-for-safe-destructure-fix.webm |
Beta Was this translation helpful? Give feedback.
0 replies
-
const obj = {
firstName: "Aisha",
}
const firstName = obj.firstName;
console.log(firstName); |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
appears to have a safe fix, but it's not suggested in VSCode, like other fixes.
Beta Was this translation helpful? Give feedback.
All reactions