Skip to content

Commit

Permalink
add warning notice for tslint
Browse files Browse the repository at this point in the history
  • Loading branch information
coopfeathy committed Apr 8, 2019
1 parent 16a2a59 commit 4222a11
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 4222a11

Please sign in to comment.