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.
When I have the "semicolon" rule on, tslint complains of a missing semi-colon after the closing } in this method definition.
Expected behavior
I want a way to make the semi-colon after the closing } optional. I view this construct as a way of defining a /method/, not a /property/, and methods don't close with ;.
The text was updated successfully, but these errors were encountered:
We could change the semicolon rule to start being lenient here, or add a new allow-member-functions option to enable leniency. My slight preference is for the former. Thoughts @jkillian?
TypeScript code being linted
Actual behavior
When I have the "semicolon" rule on, tslint complains of a missing semi-colon after the closing
}
in this method definition.Expected behavior
I want a way to make the semi-colon after the closing
}
optional. I view this construct as a way of defining a /method/, not a /property/, and methods don't close with;
.The text was updated successfully, but these errors were encountered: