Skip to content

Instantly share code, notes, and snippets.

@seunlanlege
Created July 1, 2018 08:42
Show Gist options
  • Save seunlanlege/9b1a378b3513143eb1b17a39603e4729 to your computer and use it in GitHub Desktop.
Save seunlanlege/9b1a378b3513143eb1b17a39603e4729 to your computer and use it in GitHub Desktop.
tsconfig for react-native projects
{
"compilerOptions": {
"target": "es2017",
"moduleResolution": "node",
"jsx": "react-native",
"noEmit": false,
"outDir": "outputs",
"sourceMap": true,
"allowSyntheticDefaultImports": true,
"preserveConstEnums": true,
"allowJs": false,
"noImplicitReturns": true,
"noUnusedParameters": true,
"noUnusedLocals": true,
"traceResolution": false,
"module": "esnext",
"lib": [
"es6",
"dom",
"es5"
],
"skipLibCheck": true,
"skipDefaultLibCheck": true,
"rootDir": "src",
"experimentalDecorators": true,
"forceConsistentCasingInFileNames": true,
"noImplicitThis": false,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,
"baseUrl": ".",
"checkJs": false
},
"exclude": [
"**/*.test.ts",
"**/*.test.tsx",
"node_modules",
"**/node_modules/*",
"android",
"ios",
"build",
"node_modules"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment