Switch to BiomeJS (#306)

This commit is contained in:
Gregory Schier authored and GitHub committed 2025-11-23 08:38:13 -08:00
1 parent 2bac610efe
commit ec3e2e16a9
332 files changed
+3007 -4097

No files matched your search

+3 -2
View File
@@ -14,10 +14,11 @@ export const plugin: PluginDefinition = {
};
export async function convertOpenApi(contents: string): Promise<ImportPluginResponse | undefined> {
let postmanCollection;
// biome-ignore lint/suspicious/noExplicitAny: none
let postmanCollection: any;
try {
postmanCollection = await new Promise((resolve, reject) => {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
// biome-ignore lint/suspicious/noExplicitAny: none
convert({ type: 'string', data: contents }, {}, (err, result: any) => {
if (err != null) reject(err);