From 6b3c2101f871d23ca87229513378771646889072 Mon Sep 17 00:00:00 2001 From: Vasiliy Kuzmenko Date: Sat, 31 Mar 2018 01:16:31 +0300 Subject: [PATCH] fix TSLint When TSLint is linting code, he also lints .js files in config folder, and generate "No valid rules have been specified" error. I we exclude config folder from tsconfig.json file, and error is gone. --- packages/react-scripts/template/tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/react-scripts/template/tsconfig.json b/packages/react-scripts/template/tsconfig.json index 859735414..58294bb97 100644 --- a/packages/react-scripts/template/tsconfig.json +++ b/packages/react-scripts/template/tsconfig.json @@ -24,6 +24,7 @@ "acceptance-tests", "webpack", "jest", - "src/setupTests.ts" + "src/setupTests.ts", + "config" ] }