undefined
undefined

Reputation: 6884

TS lint disallow leading underscore

There is a rule for disallow leading underscore?

I know only this rule, that allows these.

"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"]

Upvotes: 2

Views: 3684

Answers (1)

basarat
basarat

Reputation: 276255

There is a rule for disallow leading underscore

Enable check-format and do not enable allow-leading-underscore and it is disabled by default 🌹

More

Upvotes: 3

Related Questions