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.
Hmm, now this includes checks against static methods too... I prefer constructors as the first thing after members and then methods after that. So that's an ordering that doesn't seem to be supported now, but it used to be accidentally because of this bug e.g.
Is there any plan to support this ordering style, which is a common C# style i.e. fields, constructors then methods while maintaining static/instance ordering within those sections?
Bug Report
3.8.0
1.8.10
TypeScript code being linted
with
tslint.json
:When checking this code:
I get the expected warning:
But when checking this code it passes. (renamed 'foo' to 'constructor')
Expected behavior
I would expect the constructor case to have the same warning because there is a method before property definition.
The text was updated successfully, but these errors were encountered: