Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasB25 committed Aug 8, 2024
1 parent 7345552 commit ff62f54
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/clean.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
// biome-ignore lint/correctness/noNodejsModules: <explanation>
import { existsSync } from "node:fs";
// biome-ignore lint/correctness/noNodejsModules: <explanation>
import { rm } from "node:fs/promises";
// biome-ignore lint/correctness/noNodejsModules: <explanation>
import { resolve } from "node:path";

async function clean() {
Expand Down
1 change: 1 addition & 0 deletions scripts/restart.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// biome-ignore lint/correctness/noNodejsModules: <explanation>
import { exec } from "node:child_process";

async function startLavamusic(): Promise<void> {
Expand Down
1 change: 1 addition & 0 deletions src/commands/dev/Eval.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// biome-ignore lint/correctness/noNodejsModules: <explanation>
import util from "node:util";
import { ActionRowBuilder, ButtonBuilder, ButtonStyle } from "discord.js";
import { fetch } from "undici";
Expand Down
1 change: 1 addition & 0 deletions src/commands/dev/Restart.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// biome-ignore lint/correctness/noNodejsModules: <explanation>
import { exec } from "node:child_process";
import { ActionRowBuilder, ButtonBuilder, ButtonStyle } from "discord.js";
import { Command, type Context, type Lavamusic } from "../../structures/index.js";
Expand Down
1 change: 1 addition & 0 deletions src/commands/info/Botinfo.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// biome-ignore lint/correctness/noNodejsModules: <explanation>
import os from "node:os";
import { version } from "discord.js";
import { showTotalMemory, usagePercent } from "node-system-stats";
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// biome-ignore lint/style/noNamespaceImport: <explanation>
// biome-ignore lint/correctness/noNodejsModules: <explanation>
import * as fs from "node:fs";
import { ShardingManager } from "discord.js";

Expand Down
3 changes: 3 additions & 0 deletions src/plugin/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
// biome-ignore lint/correctness/noNodejsModules: <explanation>
import fs from "node:fs";
// biome-ignore lint/correctness/noNodejsModules: <explanation>
import path from "node:path";
// biome-ignore lint/correctness/noNodejsModules: <explanation>
import { fileURLToPath } from "node:url";
import type { Lavamusic } from "../structures/index.js";

Expand Down
1 change: 1 addition & 0 deletions src/plugin/plugins/keepAlive.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// biome-ignore lint/correctness/noNodejsModules: <explanation>
import http from "node:http";
import type { Lavamusic } from "../../structures/index.js";
import type { BotPlugin } from "../index.js";
Expand Down
3 changes: 3 additions & 0 deletions src/structures/Lavamusic.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
// biome-ignore lint/correctness/noNodejsModules: <explanation>
import fs from "node:fs";
// biome-ignore lint/correctness/noNodejsModules: <explanation>
import path from "node:path";
// biome-ignore lint/correctness/noNodejsModules: <explanation>
import { fileURLToPath } from "node:url";
import { Api } from "@top-gg/sdk";
import {
Expand Down

0 comments on commit ff62f54

Please sign in to comment.