Skip to content

Instantly share code, notes, and snippets.

@vdelacou
Last active February 2, 2020 07:32
Show Gist options
  • Save vdelacou/21984f478cfb18ca99c7d279401002d0 to your computer and use it in GitHub Desktop.
Save vdelacou/21984f478cfb18ca99c7d279401002d0 to your computer and use it in GitHub Desktop.
My Tslint config for AWS Lambda
{
"endOfLine": "lf",
"printWidth": 180,
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5"
}
{
"recommendations": ["ms-vscode.vscode-typescript-tslint-plugin", "esbenp.prettier-vscode"]
}
{
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
},
"typescript.tsdk": "node_modules\\typescript\\lib",
"files.autoSave": "afterDelay",
"search.exclude": {
"**/node_modules": true,
"**/.vscode": true,
"**/build": true
},
"git.autofetch": true,
"javascript.format.enable": false,
"typescript.implementationsCodeLens.enabled": true,
"editor.trimAutoWhitespace": true,
"files.encoding": "utf8",
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true
}
{
"compilerOptions": {
"declaration": false,
"target": "ES2017",
"module": "commonjs",
"moduleResolution": "node",
"rootDir": ".",
"lib": ["es2017"],
"typeRoots": ["node_modules/@types"],
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"noImplicitAny": true,
"sourceMap": false,
"strict": true,
"baseUrl": ".",
"outDir": "../src"
},
"include": ["./**/*"],
"exclude": ["node_modules"]
}
{
"extends": [
"tslint:recommended",
"tslint-config-standard",
"tslint-etc",
"tslint-config-prettier"
],
"rules": {
"object-literal-sort-keys": false
},
"jsRules": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment