Skip to content

Unused underscore variables not being ignored by lint rules #19614

Description

TypeScript Version: 2.7.0-dev.20171031, 2.6.1 (Regression from 2.5.3)

Expected behavior:
Variables with names that begin with an underscore do not cause an error if not used.

Actual behavior:
components/panel/panel.ts(22,11): error TS6133: '_someVariable' is declared but its value is never read.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Working as IntendedThe behavior described is the intended behavior; this is not a bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions