From b870333990fab522862d1996c3f1f015054becbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20G=C3=B3is?= Date: Wed, 29 Jan 2025 13:48:20 +0000 Subject: [PATCH] chore: ignore website docs generated in biome (#9168) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://linear.app/unleash/issue/2-3208/add-website-docs-generated-folder-to-biome-ignore-lists Noticed when running `yarn lint` locally that we get this error: ``` ./website/docs/generated/openapi.json format ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ✖ Size of ./website/docs/generated/openapi.json is 1.7 MiB which exceeds configured maximum of 1.0 MiB for this project. The file size limit exists to prevent us inadvertently slowing down and loading large files that we shouldn't. Use the `files.maxSize` configuration to change the maximum size of files processed. ``` To overcome this, this PR adds `website/docs/generated` to the ignore list of both the linter and formatter in our Biome settings. --- biome.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/biome.json b/biome.json index b1775ac72c..63273e98e9 100644 --- a/biome.json +++ b/biome.json @@ -49,6 +49,7 @@ "docker", "bundle.js", "website/build", + "website/docs/generated", "website/global.js", "setupJest.js", "dist", @@ -79,6 +80,7 @@ "src/test/examples/*.json", "coverage", "website/build", + "website/docs/generated", "website/global.js", ".docusaurus", "./package.json",