mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 19:43:29 +01:00
chore: remove usage of the prefer-global rules (#11279)
This commit is contained in:
committed by
GitHub
parent
548d75258b
commit
9bf1f739e0
@@ -1,3 +1,5 @@
|
||||
/* eslint-disable n/prefer-global/process */
|
||||
|
||||
import type { RequestInit } from 'undici';
|
||||
import type { REST } from '../REST.js';
|
||||
import type { DiscordErrorData, OAuthErrorData } from '../errors/DiscordAPIError.js';
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import type { Buffer } from 'node:buffer';
|
||||
import type { RESTPatchAPIChannelJSONBody, Snowflake } from 'discord-api-types/v10';
|
||||
import type { REST } from '../REST.js';
|
||||
import { RateLimitError } from '../errors/RateLimitError.js';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Buffer } from 'node:buffer';
|
||||
import { STATUS_CODES } from 'node:http';
|
||||
import { URLSearchParams } from 'node:url';
|
||||
import { types } from 'node:util';
|
||||
import { type RequestInit, request, Headers, FormData as UndiciFormData, Agent } from 'undici';
|
||||
import type { HeaderRecord } from 'undici/types/header.js';
|
||||
|
||||
Reference in New Issue
Block a user