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.
Both Lines (with and without new Keyword) should trigger an Error.
Background Information
We use meteor to develop. Meteor provides the Class Meteor.Error (which extends the Normal Error).
This allows to include more details into the Error, but usually just Error is used.
By banning the Normal Error, developers should use the Meteor.Error and provide better Error messages.
The text was updated successfully, but these errors were encountered:
TSLint is deprecated and no longer accepting pull requests other than security fixes. See #4534. ☠️
We recommend you instead use typescript-eslint to lint your TypeScript code with ESLint. ✅
Bug Report
TypeScript code being linted
with
tslint.json
configuration:Actual behavior
Only the second Line is marked as an Error
Expected behavior
Both Lines (with and without new Keyword) should trigger an Error.
Background Information
We use meteor to develop. Meteor provides the Class Meteor.Error (which extends the Normal Error).
This allows to include more details into the Error, but usually just Error is used.
By banning the Normal Error, developers should use the Meteor.Error and provide better Error messages.
The text was updated successfully, but these errors were encountered: