From 0eb69e2a97c2709d38e9afb91e49d841d7fb4d67 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 26 Apr 2018 14:44:23 +0900 Subject: [PATCH] Fix lint --- src/client/app/desktop/api/update-banner.ts | 2 +- src/models/sw-subscription.ts | 1 - test/api.ts | 1 - tslint.json | 1 + 4 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/client/app/desktop/api/update-banner.ts b/src/client/app/desktop/api/update-banner.ts index bc3f783e3..feb1c3310 100644 --- a/src/client/app/desktop/api/update-banner.ts +++ b/src/client/app/desktop/api/update-banner.ts @@ -95,7 +95,7 @@ export default (os: OS) => { multiple: false, title: '%fa:image%バナーにする画像を選択' }); - + return selectedFile .then(cropImage) .then(setBanner) diff --git a/src/models/sw-subscription.ts b/src/models/sw-subscription.ts index 621ac8a9b..a38edd3a5 100644 --- a/src/models/sw-subscription.ts +++ b/src/models/sw-subscription.ts @@ -38,4 +38,3 @@ export async function deleteSwSubscription(swSubscription: string | mongo.Object _id: s._id }); } - diff --git a/test/api.ts b/test/api.ts index 87bbb8ee1..b85511d80 100644 --- a/test/api.ts +++ b/test/api.ts @@ -15,7 +15,6 @@ process.on('unhandledRejection', console.dir); const fs = require('fs'); const _chai = require('chai'); const chaiHttp = require('chai-http'); -const should = _chai.should(); _chai.use(chaiHttp); diff --git a/tslint.json b/tslint.json index d3f96000b..ae0df46b9 100644 --- a/tslint.json +++ b/tslint.json @@ -5,6 +5,7 @@ ], "jsRules": {}, "rules": { + "align": false, "indent": ["tab"], "quotemark": ["single"], "no-var-requires": false,