From 4c88b0b939cf5388fb5374e51859a59fff7b3a98 Mon Sep 17 00:00:00 2001 From: Trevor Manz Date: Mon, 23 Dec 2024 13:09:05 -0600 Subject: [PATCH] Integrate Biome with VCS to simplify ignore patterns Configures Biome's VCS integration to respect `.gitignore` file. --- biome.json | 29 ++++++++--------------------- 1 file changed, 8 insertions(+), 21 deletions(-) diff --git a/biome.json b/biome.json index 728e69dfdd4..57d3a285107 100644 --- a/biome.json +++ b/biome.json @@ -8,32 +8,14 @@ "lineEnding": "lf", "lineWidth": 80, "attributePosition": "auto", - "ignore": [ - "dist", - "lib", - "pnpm-lock.yaml", - "storybook-static", - "package.json" - ] + "ignore": ["pnpm-lock.yaml", "storybook-static", "package.json"] }, "organizeImports": { - "ignore": [ - "dist", - "lib", - "pnpm-lock.yaml", - "storybook-static", - "package.json" - ], + "ignore": ["pnpm-lock.yaml", "storybook-static", "package.json"], "enabled": false }, "linter": { - "ignore": [ - "dist", - "lib", - "pnpm-lock.yaml", - "storybook-static", - "package.json" - ], + "ignore": ["pnpm-lock.yaml", "storybook-static", "package.json"], "enabled": true, "rules": { "recommended": true, @@ -129,5 +111,10 @@ "quoteStyle": "double", "attributePosition": "auto" } + }, + "vcs": { + "enabled": true, + "clientKind": "git", + "useIgnoreFile": true } }