Skip to content

Commit 38cd5c0

Browse files
chore(deps): update dependency @biomejs/biome to v1.8.0 (#136)
* chore(deps): update dependency @biomejs/biome to v1.8.0 * chore: follow biome * ci(check.yml): remove unnecessary argument of biome --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: risu729 <[email protected]>
1 parent bf8f72c commit 38cd5c0

File tree

9 files changed

+12
-10
lines changed

9 files changed

+12
-10
lines changed

.github/workflows/check.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979

8080
- name: Biome
8181
if: ${{ !cancelled() && steps.install.outcome == 'success' }}
82-
run: bun run biome ci --error-on-warnings .
82+
run: bun run biome ci --error-on-warnings
8383

8484
- name: tsc (source)
8585
if: ${{ !cancelled() && steps.install.outcome == 'success' }}

biome.jsonc

+4-2
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,12 @@
2828
// collides with the lint/nursery/useImportRestrictions rule
2929
"noBarrelFile": "off"
3030
},
31+
"correctness": {
32+
// this package runs on Node.js
33+
"noNodejsModules": "off"
34+
},
3135
"nursery": {
3236
"all": true,
33-
// this package runs on Node.js
34-
"noNodejsModules": "off",
3537
// handled by Knip
3638
"noUndeclaredDependencies": "off"
3739
}

bun.lockb

-24 Bytes
Binary file not shown.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"build": "tsc --project tsconfig.src.json",
2626
"commit": "git-cz",
2727
"check": "concurrently \"bun:check:*(!type:)\"",
28-
"check:biome": "biome check --apply --error-on-warnings .",
28+
"check:biome": "biome check --fix --error-on-warnings",
2929
"check:type": "concurrently \"bun:check:type:*\"",
3030
"check:type:base": "tsc --project tsconfig.base.json",
3131
"check:type:src": "tsc --noEmit --project tsconfig.src.json",
@@ -42,7 +42,7 @@
4242
"svgo": "3.3.2"
4343
},
4444
"devDependencies": {
45-
"@biomejs/biome": "1.7.3",
45+
"@biomejs/biome": "1.8.0",
4646
"@commitlint/cli": "19.3.0",
4747
"@commitlint/config-conventional": "19.2.2",
4848
"@commitlint/cz-commitlint": "19.2.0",

tests/e2e/conversion.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { readdir } from "node:fs/promises";
22
import { setTimeout } from "node:timers/promises";
33
import { expect, test } from "@playwright/test";
44
// biome-ignore lint/nursery/useImportRestrictions: import required for test
5-
import { AVAILABLE_FORMAT_CONVERSIONS } from "./fixtures/src/formats";
5+
import { AVAILABLE_FORMAT_CONVERSIONS } from "./fixtures/src/formats.ts";
66

77
// intended to run on CI, with the expected snapshots taken with the default image service
88

tests/e2e/fixtures/src/pages/[...path].astro

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import type { GetStaticPaths, ImageMetadata } from "astro";
55
import {
66
AVAILABLE_FORMAT_CONVERSIONS,
77
type VALID_INPUT_FORMATS,
8-
} from "../formats";
8+
} from "../formats.ts";
99
1010
import svgImage from "../images/astro.svg";
1111
import tiffImage from "../images/capybara.tiff";

tests/e2e/fixtures/src/pages/index.astro

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
// biome-ignore lint/correctness/noUnusedImports: used in the template
3-
import { AVAILABLE_FORMAT_CONVERSIONS } from "../formats";
3+
import { AVAILABLE_FORMAT_CONVERSIONS } from "../formats.ts";
44
55
// biome-ignore lint/correctness/noUnusedVariables: used in the template
66
const imageService = process.env["USE_DEFAULT_IMAGE_SERVICE"]

tests/e2e/format.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
AVAILABLE_FORMAT_CONVERSIONS,
55
DEFAULT_OUTPUT_FORMAT,
66
// biome-ignore lint/nursery/useImportRestrictions: import required for test
7-
} from "./fixtures/src/formats";
7+
} from "./fixtures/src/formats.ts";
88

99
test.describe("Image Format Conversion", () => {
1010
for (const {

tests/e2e/vrt.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { setTimeout } from "node:timers/promises";
22
import { expect, test } from "@playwright/test";
33
// biome-ignore lint/nursery/useImportRestrictions: import required for test
4-
import { AVAILABLE_FORMAT_CONVERSIONS } from "./fixtures/src/formats";
4+
import { AVAILABLE_FORMAT_CONVERSIONS } from "./fixtures/src/formats.ts";
55

66
test.describe("Visual Regression", () => {
77
for (const {

0 commit comments

Comments
 (0)