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;
|
||||
}
|
||||
|
||||
export const MIError: MIErrorConstructor = <any>class MIError {
|
||||
export const MIError: MIErrorConstructor = <any> class MIError {
|
||||
readonly name: string;
|
||||
readonly message: string;
|
||||
readonly source: string;
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@ export function expandValue(variableCreate: Function, value: string, root: strin
|
|||
value = value.substr(3).trim();
|
||||
if (value[0] == '}') {
|
||||
value = value.substr(1).trim();
|
||||
return <any>"<...>";
|
||||
return <any> "<...>";
|
||||
}
|
||||
}
|
||||
const eqPos = value.indexOf("=");
|
||||
|
|
|
|||
|
|
@ -295,7 +295,7 @@ export class MI2 extends EventEmitter implements IBackend {
|
|||
}
|
||||
|
||||
onOutputStderr(lines) {
|
||||
lines = <string[]>lines.split('\n');
|
||||
lines = <string[]> lines.split('\n');
|
||||
lines.forEach(line => {
|
||||
this.log("stderr", line);
|
||||
});
|
||||
|
|
@ -310,7 +310,7 @@ export class MI2 extends EventEmitter implements IBackend {
|
|||
}
|
||||
|
||||
onOutput(lines) {
|
||||
lines = <string[]>lines.split('\n');
|
||||
lines = <string[]> lines.split('\n');
|
||||
lines.forEach(line => {
|
||||
if (couldBeOutput(line)) {
|
||||
if (!gdbMatch.exec(line))
|
||||
|
|
|
|||
|
|
@ -309,5 +309,5 @@ export function parseMI(output: string): MINode {
|
|||
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,
|
||||
"triple-equals": false,
|
||||
"typedef-whitespace": false,
|
||||
"variable-name": false,
|
||||
"whitespace": false
|
||||
"variable-name": false
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue