mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-10 16:58:08 +00:00
Add Oxlint configuration and integrate linting commands
- Introduced a new `.oxlintrc.json` file to configure Oxlint for code quality checks. - Updated `package.json` to include linting scripts (`lint` and `lint:fix`) for easier code maintenance. - Enhanced documentation in `README` files to guide users on running Oxlint checks and applying fixes.
This commit is contained in:
@@ -461,7 +461,7 @@ export class GridEngine {
|
||||
return false;
|
||||
}
|
||||
|
||||
private async haltGrid(price: number): Promise<void> {
|
||||
private async haltGrid(_price: number): Promise<void> {
|
||||
if (!this.running) return;
|
||||
const reason = this.stopReason ?? "触发网格止损";
|
||||
this.log("warn", `${reason},开始执行平仓与撤单`);
|
||||
|
||||
Reference in New Issue
Block a user