mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-25 10:19:06 +01:00
Fix lint
This commit is contained in:
parent
5d51414eea
commit
0eb69e2a97
@ -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 New Issue
Block a user