tslint: Enable whitespace
This commit is contained in:
parent
ec95d4a433
commit
7c76de4536
5 changed files with 6 additions and 7 deletions
|
|
@ -139,7 +139,7 @@ export interface MIErrorConstructor {
|
||||||
readonly prototype: MIError;
|
readonly prototype: MIError;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const MIError: MIErrorConstructor = <any>class MIError {
|
export const MIError: MIErrorConstructor = <any> class MIError {
|
||||||
readonly name: string;
|
readonly name: string;
|
||||||
readonly message: string;
|
readonly message: string;
|
||||||
readonly source: string;
|
readonly source: string;
|
||||||
|
|
|
||||||
|
|
@ -98,7 +98,7 @@ export function expandValue(variableCreate: Function, value: string, root: strin
|
||||||
value = value.substr(3).trim();
|
value = value.substr(3).trim();
|
||||||
if (value[0] == '}') {
|
if (value[0] == '}') {
|
||||||
value = value.substr(1).trim();
|
value = value.substr(1).trim();
|
||||||
return <any>"<...>";
|
return <any> "<...>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const eqPos = value.indexOf("=");
|
const eqPos = value.indexOf("=");
|
||||||
|
|
|
||||||
|
|
@ -295,7 +295,7 @@ export class MI2 extends EventEmitter implements IBackend {
|
||||||
}
|
}
|
||||||
|
|
||||||
onOutputStderr(lines) {
|
onOutputStderr(lines) {
|
||||||
lines = <string[]>lines.split('\n');
|
lines = <string[]> lines.split('\n');
|
||||||
lines.forEach(line => {
|
lines.forEach(line => {
|
||||||
this.log("stderr", line);
|
this.log("stderr", line);
|
||||||
});
|
});
|
||||||
|
|
@ -310,7 +310,7 @@ export class MI2 extends EventEmitter implements IBackend {
|
||||||
}
|
}
|
||||||
|
|
||||||
onOutput(lines) {
|
onOutput(lines) {
|
||||||
lines = <string[]>lines.split('\n');
|
lines = <string[]> lines.split('\n');
|
||||||
lines.forEach(line => {
|
lines.forEach(line => {
|
||||||
if (couldBeOutput(line)) {
|
if (couldBeOutput(line)) {
|
||||||
if (!gdbMatch.exec(line))
|
if (!gdbMatch.exec(line))
|
||||||
|
|
|
||||||
|
|
@ -309,5 +309,5 @@ export function parseMI(output: string): MINode {
|
||||||
output = output.replace(newlineRegex, "");
|
output = output.replace(newlineRegex, "");
|
||||||
}
|
}
|
||||||
|
|
||||||
return new MINode(token, <any>outOfBandRecord || [], resultRecords);
|
return new MINode(token, <any> outOfBandRecord || [], resultRecords);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,6 @@
|
||||||
"trailing-comma": false,
|
"trailing-comma": false,
|
||||||
"triple-equals": false,
|
"triple-equals": false,
|
||||||
"typedef-whitespace": false,
|
"typedef-whitespace": false,
|
||||||
"variable-name": false,
|
"variable-name": false
|
||||||
"whitespace": false
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue