Fix lint
This commit is contained in:
parent
03d09e9d24
commit
f7c02819be
4 changed files with 2 additions and 3 deletions
|
@ -95,7 +95,7 @@ export default (os: OS) => {
|
||||||
multiple: false,
|
multiple: false,
|
||||||
title: '%fa:image%バナーにする画像を選択'
|
title: '%fa:image%バナーにする画像を選択'
|
||||||
});
|
});
|
||||||
|
|
||||||
return selectedFile
|
return selectedFile
|
||||||
.then(cropImage)
|
.then(cropImage)
|
||||||
.then(setBanner)
|
.then(setBanner)
|
||||||
|
|
|
@ -38,4 +38,3 @@ export async function deleteSwSubscription(swSubscription: string | mongo.Object
|
||||||
_id: s._id
|
_id: s._id
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,6 @@ process.on('unhandledRejection', console.dir);
|
||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const _chai = require('chai');
|
const _chai = require('chai');
|
||||||
const chaiHttp = require('chai-http');
|
const chaiHttp = require('chai-http');
|
||||||
const should = _chai.should();
|
|
||||||
|
|
||||||
_chai.use(chaiHttp);
|
_chai.use(chaiHttp);
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
],
|
],
|
||||||
"jsRules": {},
|
"jsRules": {},
|
||||||
"rules": {
|
"rules": {
|
||||||
|
"align": false,
|
||||||
"indent": ["tab"],
|
"indent": ["tab"],
|
||||||
"quotemark": ["single"],
|
"quotemark": ["single"],
|
||||||
"no-var-requires": false,
|
"no-var-requires": false,
|
||||||
|
|
Loading…
Reference in a new issue