Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Allow shadowing of same values ignored by no-unused-vars #70

Open
@glebec

Description

@glebec

Sometimes when you are forced to initialize a variable (e.g. object destructuring to get the "rest" of the props) you want to ignore that variable. Using_ as the variable name is a convention taken from other languages (where it is sometimes more than just a convention). However,_ variables can trigger theno-shadow rule if you have nested uses.

We should upgrade ourno-shadow to use theallow prop as explained athttps://eslint.org/docs/rules/no-shadow#allow. We should allow any variables that are ignored underno-unused-vars.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp