Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Closed
Labels
Milestone
Description
Reviewing rules, we can add some new rules to this set in the next major.
constructor-super
([constructor-super] Duplicates TypeScript's TS2335 and TS2377 errors #1248)- repl
'super' can only be referenced in a derived class. (2335)
Constructors for derived classes must contain a 'super' call. (2377)
no-func-assign
([no-func-assign] Duplicates TypeScript's TS2539 error #983)- repl
Cannot assign to 'foo' because it is not a variable. (2539)
no-import-assign
- repl
Cannot assign to 'mod' because it is not a variable. (2539)
Cannot assign to 'SyntaxKind' because it is not a variable. (2539)
Cannot assign to 'SyntaxKind' because it is a read-only property. (2540)
no-setter-return
- repl
Setters cannot return a value. (2408)
no-obj-calls
([no-obj-calls] Duplicates TypeScript's TS2349 error #999 /feat(eslint-plugin): eslint-recommended: disable no-obj-calls #1000)- repl
Type 'Math' has no call signatures. (2349)
no-unsafe-negation
([no-unsafe-negation] Duplicates TypeScript's TS2358, TS2360, and TS2365 errors (?) #1146)- repl
Operator '<' cannot be applied to types 'boolean' and 'number'. (2365)
The left-hand side of an 'in' expression must be of type 'any', 'string', 'number', or 'symbol'. (2360)
The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter. (2358)