From db8af2cdb1bf2435fdac0a931f8b9732876b1575 Mon Sep 17 00:00:00 2001 From: Olivier Louvignes Date: Fri, 15 Nov 2024 14:54:58 +0100 Subject: [PATCH] Update tsconfig.node.json Would be nice to support any config out of the box, eg. `eslint.config.js` or `prettier.config.js` so that they can be properly linted. --- packages/create-vite/template-react-ts/tsconfig.node.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/create-vite/template-react-ts/tsconfig.node.json b/packages/create-vite/template-react-ts/tsconfig.node.json index abcd7f0dacddc7..06500c0a01c681 100644 --- a/packages/create-vite/template-react-ts/tsconfig.node.json +++ b/packages/create-vite/template-react-ts/tsconfig.node.json @@ -18,7 +18,8 @@ "noUnusedLocals": true, "noUnusedParameters": true, "noFallthroughCasesInSwitch": true, - "noUncheckedSideEffectImports": true + "noUncheckedSideEffectImports": true, + "allowJs": true }, - "include": ["vite.config.ts"] + "include": ["*.config.js", "*.config.ts"] }