Skip to content
This repository was archived by the owner on May 12, 2025. It is now read-only.
This repository was archived by the owner on May 12, 2025. It is now read-only.

New @typescript-eslint v4 rules: no-shadow, no-redeclare #127

Closed
@nihalgonsalves

Description

@nihalgonsalves

@typescript-eslint v4 adds these new rules:

This is required since the base rules report false positives in TypeScript (e.g. no-shadow reports enums) with the v4 typescript-eslint release (due to breaking changes in the scope analysis engine).

  • The no-shadow rule should be turned off and replaced with @typescript-eslint/no-shadow
  • The no-redeclare rule should be turned off and replaced with @typescript-eslint/no-redeclare

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions