mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-30 13:33:01 +02:00
* Run `npm audit fix` * Update Biome to 2.0.0 * Migrate `biome.jsonc` to 2.0 * Apply Biome and fix some suppression comments * Fix some suppression comments and update config * More config updates Added at "error": `noUnusedLabels`, `noThisInStatic` Changed `useDefaultParameterLast` from "off" to "warn" Changed `noDocumentCookie` (from recommended) from "warn" to "off" Changed `noExcessiveCognitiveComplexity` from "warn" to "info" * Add a bunch of rules * Apply Biome safe fixes * Apply Biome unsafe fixes * Remove irrelevant `useSelfClosingElements` rule * Upgrade already followed rules to "error" * Remove unnecessary type cast * Disable fixer for `useDefaultParameterLast` * Disable `useJsonImportAttribute` rule and revert changes * Fix `mockImage.ts` * ...there's a `@ts-nocheck` in this file * Use whole-file lint suppression comment in `version_converter.ts` * Add a couple comments to `biome.jsonc` * Remove ESLint packages and GitHub workflow
12 lines
350 B
TypeScript
12 lines
350 B
TypeScript
import MockContainer from "#test/testUtils/mocks/mocksContainer/mockContainer";
|
|
|
|
export class MockImage extends MockContainer {
|
|
// biome-ignore lint/correctness/noUnusedPrivateClassMembers: this is intentional (?)
|
|
private texture;
|
|
|
|
constructor(textureManager, x, y, texture) {
|
|
super(textureManager, x, y);
|
|
this.texture = texture;
|
|
}
|
|
}
|