From e42a543a429fb4a41e442da8e3c87c67d06bd413 Mon Sep 17 00:00:00 2001 From: Kipras Melnikovas Date: Sun, 2 Feb 2020 23:18:59 +0200 Subject: [PATCH] Add react's package.json instruction to append `--ext js,jsx,ts,tsx` option to eslint See #4 (https://github.com/sarpik/eslint-config-sarpik/issues/4) Signed-off-by: Kipras Melnikovas --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index eced4e4..bad4196 100644 --- a/README.md +++ b/README.md @@ -176,6 +176,7 @@ See also [the README of vscode-eslint](https://github.com/microsoft/vscode-eslin 1. Crack open your `package.json` and 1. replace `"extends": "react-app"` with `"extends": "sarpik"` 2. replace `"eslint": "5.x" with `"eslint": "6.x"` + 3. update `lint` and `lint:fix` scripts - append the `--ext js,jsx,ts,tsx` option (required for eslint `6.x`, see https://github.com/sarpik/eslint-config-sarpik/issues/4) ## 🤬🤬🤬🤬 IT'S NOT WORKING