From 2837101cadf67b0f1688a817981f8c280d472863 Mon Sep 17 00:00:00 2001 From: Artem Niehrieiev Date: Mon, 16 Feb 2026 13:32:54 +0000 Subject: [PATCH] refactor: comment out unused import in drop-test-tables and add biome configuration --- backend/test/biome.json | 27 ++++++++++++++++++++++++++ backend/test/utils/drop-test-tables.ts | 2 +- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 backend/test/biome.json diff --git a/backend/test/biome.json b/backend/test/biome.json new file mode 100644 index 000000000..9d4445603 --- /dev/null +++ b/backend/test/biome.json @@ -0,0 +1,27 @@ +{ + "root": false, + "$schema": "https://biomejs.dev/schemas/2.4.0/schema.json", + "extends": ["../../biome.json"], + "linter": { + "rules": { + "suspicious": { + "noExplicitAny": "off", + "noConfusingVoidType": "off", + "noDoubleEquals": "off", + "useAwait": "off" + }, + "correctness": { + "noUnusedVariables": "off", + "noUnusedFunctionParameters": "off", + "noUnusedImports": "off" + }, + "complexity": { + "noUselessConstructor": "off", + "noUselessTernary": "off", + "useOptionalChain": "off", + "useLiteralKeys": "off", + "useArrowFunction": "off" + } + } + } +} diff --git a/backend/test/utils/drop-test-tables.ts b/backend/test/utils/drop-test-tables.ts index 353b7fce5..7a2c419c7 100644 --- a/backend/test/utils/drop-test-tables.ts +++ b/backend/test/utils/drop-test-tables.ts @@ -1,4 +1,4 @@ -import { getTestKnex } from './get-test-knex.js'; +// import { getTestKnex } from './get-test-knex.js'; export async function dropTestTables(tableNames: Array, connectionParams): Promise { return;