Skip to content

Commit

Permalink
add warning notice for tslint
Browse files Browse the repository at this point in the history
  • Loading branch information
fairskyDev0201 committed Apr 8, 2019
1 parent c33490b commit 357e7d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ADVANCED.md
Original file line number Diff line number Diff line change
Expand Up @@ -751,6 +751,8 @@ If you have specific advice in this area, please file a PR!

_Contributed by: [@azdanov](https://github.com/sw-yx/react-typescript-cheatsheet/pull/14)_

> ⚠️Note that [TSLint is now in maintenance and you should try to use ESLint instead](https://medium.com/palantir/tslint-in-2019-1a144c2317a9). The rest of this section is potentially outdated.

To use prettier with TSLint you will need [`tslint-config-prettier`](https://github.com/alexjoverm/tslint-config-prettier) which disables all the conflicting rules and optionally [`tslint-plugin-prettier`](https://github.com/ikatyang/tslint-plugin-prettier) which will highlight differences as TSLint issues.

Example configuration:
Expand Down

0 comments on commit 357e7d6

Please sign in to comment.