From 30e9057ba87f950e356037cbce66f466892843af Mon Sep 17 00:00:00 2001 From: creations Date: Thu, 10 Apr 2025 06:29:21 -0400 Subject: [PATCH] update biome.json and add workflow --- .forgejo/workflows/biomejs.yml | 24 ++++++++++++++++++++++++ biome.json | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 .forgejo/workflows/biomejs.yml diff --git a/.forgejo/workflows/biomejs.yml b/.forgejo/workflows/biomejs.yml new file mode 100644 index 0000000..15c990c --- /dev/null +++ b/.forgejo/workflows/biomejs.yml @@ -0,0 +1,24 @@ +name: Code quality checks + +on: + push: + pull_request: + +jobs: + biome: + runs-on: docker + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Install Bun + run: | + curl -fsSL https://bun.sh/install | bash + export BUN_INSTALL="$HOME/.bun" + echo "$BUN_INSTALL/bin" >> $GITHUB_PATH + + - name: Install Dependencies + run: bun install + + - name: Run Biome with verbose output + run: bunx biome ci . --verbose diff --git a/biome.json b/biome.json index 3c4d4f1..921a7a5 100644 --- a/biome.json +++ b/biome.json @@ -6,7 +6,7 @@ "useIgnoreFile": false }, "files": { - "ignoreUnknown": false, + "ignoreUnknown": true, "ignore": [] }, "formatter": {