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.
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?
@Kerrick you can try https://github.com/teppeis/tslint-import-eslint-config . Unfortunately it does not support plugins :( https://github.com/teppeis/tslint-import-eslint-config/issues/2
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! 馃憢
Most helpful comment
Does anybody know of any useful tools that have been produced for this?