Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

eslint-plugin-typescript vs tslint vs prettier #248

Closed
@guaizi149

Description

@guaizi149

i use eslint , prettier and husty to format and check code. But now i want to use typescript, so there are two questions:

  1. 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.

  2. 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions