diff --git a/packages/tsconfig.examples.json b/packages/tsconfig.examples.json new file mode 100644 index 00000000000..bfa9f1928dd --- /dev/null +++ b/packages/tsconfig.examples.json @@ -0,0 +1,17 @@ +{ + "compilerOptions": { + "jsx": "react-jsx", + "lib": ["es2015", "dom"], + "target": "es2015", + "module": "es2015", + "moduleResolution": "node", + "esModuleInterop": true, + "skipLibCheck": true, + "strict": true, + "strictNullChecks": false, + "isolatedModules": true, + "noEmit": true + }, + "include": ["**/examples/**/*.tsx"], + "exclude": ["**/**.test.tsx", "**/**.test.ts", "**/__mocks__/**"] +} diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 00000000000..07feba27e87 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,3 @@ +{ + "extends": "./packages/tsconfig.examples.json" +}