mirror of
https://github.com/LukeHagar/prettier-plugin-openapi.git
synced 2025-12-09 20:57:46 +00:00
Replace ESLint with Biome for linting and formatting, update TypeScript configuration to target ESNext, and refactor code to use type imports. Add new biome.json configuration file and adjust test cases for error handling.
This commit is contained in:
@@ -18,7 +18,7 @@ describe('Simple Key Ordering Tests', () => {
|
||||
}
|
||||
};
|
||||
|
||||
// @ts-ignore We are mocking things here
|
||||
// @ts-expect-error We are mocking things here
|
||||
const result = jsonPrinter?.print({ getValue: () => testData }, { tabWidth: 2 }, () => '');
|
||||
expect(result).toBeDefined();
|
||||
|
||||
@@ -71,7 +71,7 @@ describe('Simple Key Ordering Tests', () => {
|
||||
}
|
||||
};
|
||||
|
||||
// @ts-ignore We are mocking things here
|
||||
// @ts-expect-error We are mocking things here
|
||||
const result = jsonPrinter?.print({ getValue: () => testData }, { tabWidth: 2 }, () => '');
|
||||
expect(result).toBeDefined();
|
||||
|
||||
@@ -122,7 +122,7 @@ describe('Simple Key Ordering Tests', () => {
|
||||
}
|
||||
};
|
||||
|
||||
// @ts-ignore We are mocking things here
|
||||
// @ts-expect-error We are mocking things here
|
||||
const result = jsonPrinter?.print({ getValue: () => testData }, { tabWidth: 2 }, () => '');
|
||||
expect(result).toBeDefined();
|
||||
|
||||
@@ -159,7 +159,7 @@ describe('Simple Key Ordering Tests', () => {
|
||||
}
|
||||
};
|
||||
|
||||
// @ts-ignore We are mocking things here
|
||||
// @ts-expect-error We are mocking things here
|
||||
const result = jsonPrinter?.print({ getValue: () => testData }, { tabWidth: 2 }, () => '');
|
||||
expect(result).toBeDefined();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user