-
Notifications
You must be signed in to change notification settings - Fork 889
Update tslint:recommended configuration for 4.0 release #1507
Comments
@adidahiya It looks like you changed edit: I'll just change the list from |
added some more from latest.ts: add adjacent-overload-signatures |
yep, I'm sure about object-literal-shorthand |
Hey folks, trying out 4.0.0-dev.1 here. Very simple config and invocation:
I keep running into the following error: I grepped for that rule name, and it seems to be defined as part of the Edit: I edited the |
@nchen63 Thanks for your reply. I Also, the error still goes away when I edit |
@zhaytee You're right. I looked at the tag for dev.1, and it does reflect what you're seeing. Thanks for looking into this. dev.2 should be out soonish |
#Let's track the breaking changes we want to make to the
tslint:recommended
config here.no-unused-variable
Deprecate no-unused-variable rule #1618no-duplicate-key
Deprecateno-duplicate-key
rule (covered by compiler) #885label-undefined
Deprecatelabel-undefined
rule (covered by compiler) #877use-strict
use-strict
is (partially?) obsolete #678no-unreachable
deprecate no-unreachable once implemented in TS compiler #661no-unsafe-finally
ordered-imports
tslint:latest
, we want to change thenamed-imports-order
option to"case-insensitive"
max-classes-per-file
prefer-for-of
array-type
adjacent-overload-signatures
object-literal-key-quotes
object-literal-shorthand
?only-arrow-functions
/allow-declarations
Also, I was thinking it might be useful for users to have access to an older stable configuration so that they don't have to address all of 4.0's breaking changes at once. Perhaps a new config called
tslint:3.x
that is identical to the currenttslint:latest
?The text was updated successfully, but these errors were encountered: