添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

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
  • I have tried restarting my IDE and the issue persists.
  • I have updated to the latest version of the packages.
  • I have read the FAQ and my problem is not listed.
  • Repro

    module.exports = {
      extends: [],
      parser: '@typescript-eslint/parser',
      plugins: ['@typescript-eslint'],
      rules: {}
    
    enum Something {
      Abc = 0,
    

    Expected Result

    No error.

    Actual Result

    On Something I get the no-shadow error:

    error 'Something' is already declared in the upper scope no-shadow

    Versions

    package version

    you need to update your config

  • This is a listed action item for users in the v4.0.0 release notes
  • In case you missed the release note, this is listed in the FAQ
  • Our extension rule's docs lists the config you should use
  • Finally, please use the search next time.
    Duplicate of #2466, #2483, #2484, #2552