Skip to content

Global variable name is marked deprecated #114725

Description

  • Version: 1.52.1
  • Commit: ea3859d
  • Date: 2020-12-16T16:30:02.420Z (1 mo ago)
  • Electron: 9.3.5
  • Chrome: 83.0.4103.122
  • Node.js: 12.14.1
  • V8: 8.3.110.13-electron.0
  • OS: Darwin x64 18.7.0

Steps to Reproduce:

  1. Create a new JavaScript file
  2. Add a variable name, for example: let name = 'foo';
  3. Try using the name variable, for example: console.log(name);

Screen Shot 2021-01-21 at 4 14 11 PM

Does this issue occur when all extensions are disabled?: No

I suspect this is an eslint bug, or bug in the vscode-eslint extension, not distinguishing between a user-defined name variable and the global. But I'm not sure where to file it other than here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

*duplicateIssue identified as a duplicate of another issue(s)javascriptJavaScript support issues

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions