Skip to content

Instantly share code, notes, and snippets.

@ianmartorell
Created May 20, 2020 11:25
Show Gist options
  • Save ianmartorell/4e1b53dd677546e5f0c3cc28d99fa9e2 to your computer and use it in GitHub Desktop.
Save ianmartorell/4e1b53dd677546e5f0c3cc28d99fa9e2 to your computer and use it in GitHub Desktop.
{
"compilerOptions": {
"target": "ES6",
"module": "ESNext",
"lib": [ "DOM", "ESNext" ],
// Search under node_modules for non-relative imports.
"moduleResolution": "node",
// Process & infer types from .js files.
"allowJs": true,
// Don't emit; allow Babel to transform files.
"noEmit": true,
// Enable strictest settings like strictNullChecks & noImplicitAny.
"strict": true,
// Disallow features that require cross-file information for emit.
"isolatedModules": true,
// Import non-ES modules as default imports.
"esModuleInterop": true,
"jsx": "react-native",
"rootDir": "src",
"baseUrl": "./src",
"paths": {
"/*": ["./*"]
},
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"resolveJsonModule": true,
},
"exclude":[
"node_modules",
"web-build"
],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment