Skip to content

Instantly share code, notes, and snippets.

@zawupf
Created March 2, 2018 16:27
Show Gist options
  • Save zawupf/c2baf436ec8936a95e5915204788421c to your computer and use it in GitHub Desktop.
Save zawupf/c2baf436ec8936a95e5915204788421c to your computer and use it in GitHub Desktop.
tsconfig.json for validation in vscode
{
"compileOnSave": false,
"compilerOptions": {
"allowJs": true,
"allowSyntheticDefaultImports": true,
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"alwaysStrict": true,
"charset": "utf8",
"checkJs": true,
"experimentalDecorators": true,
"module": "esnext",
"moduleResolution": "node",
"newLine": "LF",
"skipLibCheck": true,
"target": "esnext",
// checks:
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,
"noImplicitThis": true,
// "noImplicitAny": true,
},
"exclude": [
"node_modules",
"vendor_components",
],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment