1455: Add noUnusedLocals to VsCode tsconfig r=matklad a=etaoins

`tslint` doesn't catch this because TypeScript has had this check builtin since 2.9. However, it's disabled by default so right now nothing is checking for unused variables.

Co-authored-by: Ryan Cumming <etaoins@gmail.com>
This commit is contained in:
bors[bot] 2019-06-29 09:12:05 +00:00
commit 64f71dd3ff
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,5 @@
import * as vscode from 'vscode';
import { strict } from 'assert';
import { Server } from './server';
const RA_LSP_DEBUG = process.env.__RA_LSP_SERVER_DEBUG;

View File

@ -6,7 +6,8 @@
"lib": ["es6"],
"sourceMap": true,
"rootDir": "src",
"strict": true
"strict": true,
"noUnusedLocals": true
},
"exclude": ["node_modules", ".vscode-test"]
}