Tslint: Convert from eslint config

Created on 26 Sep 2016  路  7Comments  路  Source: palantir/tslint

When moving from eslint to tslint, it'd be great if there was a simple way to convert the config. I have an eslint config that's hundreds of lines long and would probably take me many many hours to get it all converted over.

I'm currently using the tslint-eslint-rules npm package and defining the rules there. I just set this up, so I'm unsure how well it's working yet, but certainly not a big fan of this route, although I'm sure it's good if you're wanting to use eslint and tslint side-by-side.

However, I'm in the camp of less modules at this point - already way too many.

Hard Needs Proposal Feature Request 馃尮 R.I.P. 馃尮

Most helpful comment

Does anybody know of any useful tools that have been produced for this?

All 7 comments

We don't have any work planned in this area, but do let us know if you produce any useful tool to help convert the configs! We don't line up with all the naming conventions in ESLint, so the conversion will be nontrivial.

Does anybody know of any useful tools that have been produced for this?

This would be pretty nifty. It'd be great to see a proposal in this area.

Agreed, this would be awesome.

By now, we're more interested in moving _to_ ESLint with typescript-eslint, not the other way around. See #4534.

FWIW https://github.com/typescript-eslint/tslint-to-eslint-config can move your TSLint config to an ESLint equivalent. 馃檶

馃 Beep boop! 馃憠 TSLint is deprecated 馃憟 _(#4534)_ and you should switch to typescript-eslint! 馃

馃敀 This issue is being locked to prevent further unnecessary discussions. Thank you! 馃憢

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rajinder-yadav picture rajinder-yadav  路  3Comments

ypresto picture ypresto  路  3Comments

cateyes99 picture cateyes99  路  3Comments

dashmug picture dashmug  路  3Comments

SwintDC picture SwintDC  路  3Comments