From 97dc85e971f841e42ecd175549be6032e2822c98 Mon Sep 17 00:00:00 2001 From: Yagiz Nizipli Date: Tue, 16 Apr 2024 19:38:57 -0400 Subject: [PATCH] perf: enable `noBarrelFile` rule for biome --- biome.json | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/biome.json b/biome.json index 23b5c42e67a036..6e37e73c2ae437 100644 --- a/biome.json +++ b/biome.json @@ -33,6 +33,9 @@ "noDuplicateJsonKeys": "error", "noNodejsModules": "error" }, + "performance": { + "noBarrelFile": "error" + }, "security": { "noDangerouslySetInnerHtmlWithChildren": "error" }, @@ -147,6 +150,26 @@ } } } + }, + { + "include": [ + "static/app/utils/replays/types.tsx", + "static/app/utils/queryClient.tsx", + "static/app/views/performance/traceDetails/styles.tsx", + "static/app/icons/index.tsx", + "static/app/components/tabs/index.tsx", + "static/app/components/sparklines/line.tsx", + "static/app/types/index.tsx", + "tests/js/sentry-test/reactTestingLibrary.tsx", + "tests/js/sentry-test/index.tsx" + ], + "linter": { + "rules": { + "performance": { + "noBarrelFile": "off" + } + } + } } ] }