chore: run a full eslint

This commit is contained in:
Wesley F. Young committed 2024-08-10 19:58:31 +08:00
1 parent 9a9511aad6
commit 116a04e081
198 files changed
+8187 -7744

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@ import { ActionName } from '../types';
import CanSendRecord from './CanSendRecord';
interface ReturnType {
yes: boolean
yes: boolean;
}
export default class CanSendImage extends CanSendRecord {
+2 -2
View File
@@ -2,7 +2,7 @@ import BaseAction from '../BaseAction';
import { ActionName } from '../types';
interface ReturnType {
yes: boolean
yes: boolean;
}
export default class CanSendRecord extends BaseAction<any, ReturnType> {
@@ -10,7 +10,7 @@ export default class CanSendRecord extends BaseAction<any, ReturnType> {
protected async _handle(_payload: void): Promise<ReturnType> {
return {
yes: true
yes: true,
};
}
}
-1
View File
@@ -1,4 +1,3 @@
import { OB11User } from '../../types';
import { OB11Constructor } from '../../helper/data';
import BaseAction from '../BaseAction';
+1 -1
View File
@@ -8,7 +8,7 @@ export default class GetStatus extends BaseAction<any, any> {
return {
online: !!this.CoreContext.selfInfo.online,
good: true,
stat:{}
stat: {},
};
}
}
+1 -1
View File
@@ -9,7 +9,7 @@ export default class GetVersionInfo extends BaseAction<any, any> {
return {
app_name: 'NapCat.Onebot',
protocol_version: 'v11',
app_version: napcat_version
app_version: napcat_version,
};
}
}