New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes to the eslint-recommended
ruleset for 3.0.0
#1273
Comments
Will |
@wtgtybhertgeghgtwtg - the
It's highly likely that |
|
Some users do rely on linting to catch problems when using babel as their transpiler. |
eslint-recommended
ruleset
eslint-recommended
ruleseteslint-recommended
ruleset for 3.0.0
Hy, @bradzacher is there anything I can work on? |
@moulikcipherX there's no shortage of issues to look at. https://github.com/typescript-eslint/typescript-eslint/blob/master/CONTRIBUTING.md#pull-requests |
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)'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)Cannot assign to 'foo' because it is not a variable. (2539)
no-import-assign
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
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)Type 'Math' has no call signatures. (2349)
no-unsafe-negation
([no-unsafe-negation] Duplicates TypeScript's TS2358, TS2360, and TS2365 errors (?) #1146)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)
The text was updated successfully, but these errors were encountered: