chore: run a full eslint

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

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 {

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,
};
}
}

View File

@@ -1,4 +1,3 @@
import { OB11User } from '../../types';
import { OB11Constructor } from '../../helper/data';
import BaseAction from '../BaseAction';

View File

@@ -8,7 +8,7 @@ export default class GetStatus extends BaseAction<any, any> {
return {
online: !!this.CoreContext.selfInfo.online,
good: true,
stat:{}
stat: {},
};
}
}

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,
};
}
}