eslint-plugin-typescript vs tslint vs prettier #248
Description
i use eslint , prettier and husty to format and check code. But now i want to use typescript, so there are two questions:
-
eslint-plugin-typescript vs prettier.
'member-delimiter-style', 'indent', 'type-annotation-spacing' rules may conflict with the prettier, whether it can only let the prettier do the formatting work and eslint-plugin-typescript do the grammatical check. Or the default setting of those rule does not conflict with the prettier. -
plan1: eslint + eslint-plugin-typescript VS plan2: eslint + tslint?
plan1 works perfectly. But I wonder if there are some typescript rules that can't be checked.
plan2 need to maintain two configurations, eslint and tslint will have some rules repeated, and it is said that tslint quality is not that high.
what plan do you prefer and why?