Skip to content

Commit 7c76de4

Browse files
committed
tslint: Enable whitespace
1 parent ec95d4a commit 7c76de4

File tree

5 files changed

+6
-7
lines changed

5 files changed

+6
-7
lines changed

src/backend/backend.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export interface MIErrorConstructor {
139139
readonly prototype: MIError;
140140
}
141141

142-
export const MIError: MIErrorConstructor = <any>class MIError {
142+
export const MIError: MIErrorConstructor = <any> class MIError {
143143
readonly name: string;
144144
readonly message: string;
145145
readonly source: string;

src/backend/gdb_expansion.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export function expandValue(variableCreate: Function, value: string, root: strin
9898
value = value.substr(3).trim();
9999
if (value[0] == '}') {
100100
value = value.substr(1).trim();
101-
return <any>"<...>";
101+
return <any> "<...>";
102102
}
103103
}
104104
const eqPos = value.indexOf("=");

src/backend/mi2/mi2.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ export class MI2 extends EventEmitter implements IBackend {
295295
}
296296

297297
onOutputStderr(lines) {
298-
lines = <string[]>lines.split('\n');
298+
lines = <string[]> lines.split('\n');
299299
lines.forEach(line => {
300300
this.log("stderr", line);
301301
});
@@ -310,7 +310,7 @@ export class MI2 extends EventEmitter implements IBackend {
310310
}
311311

312312
onOutput(lines) {
313-
lines = <string[]>lines.split('\n');
313+
lines = <string[]> lines.split('\n');
314314
lines.forEach(line => {
315315
if (couldBeOutput(line)) {
316316
if (!gdbMatch.exec(line))

src/backend/mi_parse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,5 +309,5 @@ export function parseMI(output: string): MINode {
309309
output = output.replace(newlineRegex, "");
310310
}
311311

312-
return new MINode(token, <any>outOfBandRecord || [], resultRecords);
312+
return new MINode(token, <any> outOfBandRecord || [], resultRecords);
313313
}

tslint.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
"trailing-comma": false,
3636
"triple-equals": false,
3737
"typedef-whitespace": false,
38-
"variable-name": false,
39-
"whitespace": false
38+
"variable-name": false
4039
}
4140
}

0 commit comments

Comments
 (0)