-
Notifications
You must be signed in to change notification settings - Fork 86
tslint is outdated #284
Comments
The problem with upgrading is that I can't ship with a new tslint without testing it on Definitely Typed. And the set of lint rules on Definitely Typed should not change until we switch to eslint. Overall, I would prefer to see effort spent on switching to eslint. |
Ok, I'll run tests on DT then to make sure everything passed. Regarding set of rules, I'll check if any new rules were added or removed. Is I understand that tslint is deprecated and eslint is preferred, but since we're still using tslint and we're not going to use eslint untill DT switched to eslint (if I remember correctly), updating tslint to include fixes seems reasonable. |
Interestingly, running |
@sandersn do you have a roadmap/plan for switching DT and dtslint to ESLint? Context: I'm digging into a roadmap for more Ember adoption, and part of what we want to build is a story for testing published types both for Ember itself and from the surrounding ecosystem against various versions of TS so that we can satisfy our compatibility story. At present, dtslint is our best option, given that constraint of testing across multiple versions (though I'm also going to be in conversation with tsd about getting that to support this workflow)—but we'd very much prefer not to have both eslint and tslint as dependencies, as you can imagine. (All of which is in part a long way of saying: I likely have bandwidth to help with the effort; let me know what we need to do to make it happen.) |
Nope, no roadmap yet. Here's a high-level plan of what I think needs to happen.
I think (1), (2) and (3) are all good places to start. |
|
dtslint
usestslint@5.14.0
, while the current version istslint@6.1.1
It includes, for example, fixes for interfaceName rule: palantir/tslint#4655
Because
dtslint
uses outdated version, I have to ignore this rule for interfaces such asIPAllocationPolicy
I will try to update
tslint
indtslint
and open PR.The text was updated successfully, but these errors were encountered: