Skip to content

Unused underscore variables not being ignored by lint rules #19614

Closed
@chmeyers

Description

@chmeyers

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.

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