From b3243c1608d812ffb29fd508fc2aec87fa8161f6 Mon Sep 17 00:00:00 2001 From: Nazar Hussain Date: Mon, 14 Oct 2024 12:36:04 +0200 Subject: [PATCH] Enable recommended rule complexity/noUselessEmptyExport --- biome.jsonc | 4 ---- packages/cli/src/applyPreset.ts | 3 --- packages/prover/src/cli/applyPreset.ts | 3 --- 3 files changed, 10 deletions(-) diff --git a/biome.jsonc b/biome.jsonc index a8c64963654..62d67fb7575 100644 --- a/biome.jsonc +++ b/biome.jsonc @@ -24,10 +24,6 @@ "enabled": true, "rules": { "recommended": true, - "complexity": { - // We need couple of empty exports to make those files as esm modules - "noUselessEmptyExport": "off" - }, "correctness": { "noUnusedVariables": "error", "useImportExtensions": { diff --git a/packages/cli/src/applyPreset.ts b/packages/cli/src/applyPreset.ts index e40ac98841c..612c5d648c6 100644 --- a/packages/cli/src/applyPreset.ts +++ b/packages/cli/src/applyPreset.ts @@ -90,6 +90,3 @@ function valueOfArg(argName: string): string | null { return null; } - -// Add empty export to make this a module -export {}; diff --git a/packages/prover/src/cli/applyPreset.ts b/packages/prover/src/cli/applyPreset.ts index 4a79a1a4417..f0c3d83c775 100644 --- a/packages/prover/src/cli/applyPreset.ts +++ b/packages/prover/src/cli/applyPreset.ts @@ -82,6 +82,3 @@ function valueOfArg(argName: string): string | null { return null; } - -// Add empty export to make this a module -export {};