From 731461b54d642b94c9e4b113f2c4808a8b125ada Mon Sep 17 00:00:00 2001 From: Katie Byers Date: Mon, 22 Nov 2021 23:30:08 -0800 Subject: [PATCH] fix eslint config to use new test-specific tsconfig --- .eslintrc.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index 9c949524731d..43e0b79f6edb 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -15,7 +15,13 @@ module.exports = { { files: ['*.ts', '*.tsx', '*.d.ts'], parserOptions: { - project: './tsconfig.json', + project: ['tsconfig.json'], + }, + }, + { + files: ['test/**/*.ts', 'test/**/*.tsx'], + parserOptions: { + project: ['tsconfig.test.json'], }, }, {