From 58aa0e2c1f72ccfc3da9253a99d1241f86796f96 Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Thu, 29 Jun 2017 19:31:08 +0200 Subject: [PATCH] chore: enforce whitespace before the opening brace of a block (#5409) * Enforces whitespace before the opening brace of a block. This makes sure that the code is consistent is everywhere. --- tools/screenshot-test/src/app/firebase.service.ts | 2 +- tslint.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/screenshot-test/src/app/firebase.service.ts b/tools/screenshot-test/src/app/firebase.service.ts index aa05e358a24..b5ad1591a11 100644 --- a/tools/screenshot-test/src/app/firebase.service.ts +++ b/tools/screenshot-test/src/app/firebase.service.ts @@ -45,7 +45,7 @@ export class FirebaseService { /** Set pull request number. All test information and pull request information will be retrived * from database */ - set prNumber(prNumber: string){ + set prNumber(prNumber: string) { this.screenshotResultSummary = new ScreenshotResultSummary(); this.screenshotResultSummary.prNumber = prNumber; this._readPullRequestScreenshotReport(); diff --git a/tslint.json b/tslint.json index 16948fdd442..67023ce54be 100644 --- a/tslint.json +++ b/tslint.json @@ -70,7 +70,8 @@ "check-decl", "check-operator", "check-separator", - "check-type" + "check-type", + "check-preblock" ], // Bans jasmine helper functions that will prevent the CI from properly running tests. "ban": [true, ["fit"], ["fdescribe"], ["xit"], ["xdescribe"]],