Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

no-shadow if const and enum value are the same #552

Closed
@samijaber

Description

@samijaber

What version of TypeScript are you using?
3.1.6

What version of typescript-eslint-parser are you using?
21.0.1

What code were you trying to parse?

const f = 0;
enum Foo {
  f,
}

What did you expect to happen?
No errors

What happened?
Got a no-shadow error

Might be somewhat related to #459

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions