mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
build: refactor linting
This commit is contained in:
@@ -54,7 +54,7 @@ export function generatePath(items: readonly ApiItem[], version: string) {
|
||||
}
|
||||
}
|
||||
|
||||
// eslint-disable-next-line prefer-named-capture-group, unicorn/no-unsafe-regex
|
||||
// eslint-disable-next-line prefer-named-capture-group
|
||||
return path.replace(/@discordjs\/(.*)\/(.*)?/, `$1/${version}/$2`);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user