From 4464cefb59a3f7878f75ed1a439518c9fde77aed Mon Sep 17 00:00:00 2001 From: Mozafar Haider Date: Wed, 31 Jul 2024 18:57:33 +0100 Subject: [PATCH] fix: update eslint rules for new template --- .eslintignore | 2 ++ cli/config/init-typescript/tsconfig.json | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.eslintignore b/.eslintignore index 6472c344..e1902717 100644 --- a/.eslintignore +++ b/.eslintignore @@ -3,3 +3,5 @@ # These are to avoid lint errors like 'cannot find module App.jsx' cli/config/init/entrypoint.jsx cli/config/init/App.test.jsx +cli/config/init-typescript/entrypoint.jsx +cli/config/init-typescript/App.test.tsx diff --git a/cli/config/init-typescript/tsconfig.json b/cli/config/init-typescript/tsconfig.json index 7e21e77f..20e7b205 100644 --- a/cli/config/init-typescript/tsconfig.json +++ b/cli/config/init-typescript/tsconfig.json @@ -1,14 +1,14 @@ { "compilerOptions": { - "noEmit": true, - "skipLibCheck": true, - "allowJs": true, - "jsx": "react", - "esModuleInterop": true, - "target": "ESNext", - "module": "esnext", - "moduleResolution": "node", - "allowImportingTsExtensions": true + "noEmit": true, + "skipLibCheck": true, + "allowJs": true, + "jsx": "react", + "esModuleInterop": true, + "target": "ESNext", + "module": "esnext", + "moduleResolution": "node", + "allowImportingTsExtensions": true }, "include": ["./src/**/*"] -} \ No newline at end of file +}