We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no-unused-vars
const obj = { unwanted: 1, wanted: 2 }; const { unwanted, ...result } = obj; console.log(result);
Either no error, or tells me to replace it with unwanted: _unwanted
unwanted: _unwanted
If this is intentional, prefix it with an underscore like _unwanted
_unwanted
changing it to just _unwanted changes how the program runs
#687 looks potentially similar, but seems to be different enough that this might be best as a different issue.
deno 1.40.5 (release, x86_64-unknown-linux-gnu) v8 12.1.285.27 typescript 5.3.3
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Lint Name
no-unused-vars
Code Snippet
Expected Result
Either no error, or tells me to replace it with
unwanted: _unwanted
Actual Result
Additional Info
changing it to just
_unwanted
changes how the program runs#687 looks potentially similar, but seems to be different enough that this might be best as a different issue.
Version
deno 1.40.5 (release, x86_64-unknown-linux-gnu)
v8 12.1.285.27
typescript 5.3.3
The text was updated successfully, but these errors were encountered: