Add noUnusedLocals to VsCode tsconfig

`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.
This commit is contained in:
Ryan Cumming 2019-06-29 18:00:22 +10:00
parent 0e1912de52
commit c8fc00258d
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"]
}