From caa87926631b5e73ccf0f9fcb99fb7362b5a68b9 Mon Sep 17 00:00:00 2001 From: supercrytoking Date: Mon, 8 Apr 2019 00:18:58 -0400 Subject: [PATCH] add warning notice for tslint --- ADVANCED.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ADVANCED.md b/ADVANCED.md index 44d2c09..495cf03 100644 --- a/ADVANCED.md +++ b/ADVANCED.md @@ -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: