Search code examples
reactjsangulartypescript

Difference between ESLint and TSLint


I searched for many articles about this question. I couldn't find any article related to that. Can some tell me what are the cons of Eslint over TsLint. Why do we have to move to ESLint?


Solution

  • Edit 1 ( NOV 2021 )

    I am currently using ESLint in TypeScript, and I love it. I suggest do not use TSLint because it's deprecated and ESLint has more linting features than TSLint.

    Original

    TSLint is specially made for TypeScript and ESLint can use in both side JavaScript and TypeScript but its the standard way to use TSLint in TypeScript because it have better linting and type-checking then ESLint in TypeScript

    There is no comparison here, pros and cons are checked when you are comparing any similar things but here both are different

    check that article: https://codeburst.io/from-eslint-to-tslint-and-back-again-bf259c2e7437