You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
Yep and it works, but I would like this pattern to be only allowed for unused parameters only. I think it makes sense because it's more of an exception. Normally we use camelCase.
Bug Report
Actual behavior
TSLint does not respect the underscore pattern for unused parameters.
p.s: The code below is stripped down a little to demonstrate the issue.
Take 1
Use unused parameters:
Get punched by TypeScript:
Take 2
Underscore the unused parameter
Get praised by TypeScript:
Take 3
Try linting the code that TypeScript is happy about:
Very cool.
with
tslint.json
configuration:Expected behaviour
TSLint should respect the underscore pattern for unused parameters.
The text was updated successfully, but these errors were encountered: