tslint: Enable no-null-keyword

I find this rule quite useful so that we use undefined all the time.
The rationale on the rule's documentation page is quite clear:

https://palantir.github.io/tslint/rules/no-null-keyword/
This commit is contained in:
Simon Marchi 2018-07-17 18:34:44 -04:00
commit d0dc094f4e
3 changed files with 4 additions and 3 deletions

View file

@ -294,7 +294,7 @@ export class MI2DebugSession extends DebugSession {
this.miDebugger.getStack(args.levels, args.threadId).then(stack => {
const ret: StackFrame[] = [];
stack.forEach(element => {
let source = null;
let source = undefined;
let file = element.file;
if (file) {
if (this.isSSH) {