diff --git a/biome.json b/biome.json index c8ebc01b..1ce7e159 100644 --- a/biome.json +++ b/biome.json @@ -1,5 +1,5 @@ { - "$schema": "https://biomejs.dev/schemas/1.8.3/schema.json", + "$schema": "https://biomejs.dev/schemas/1.9.0/schema.json", "files": { "ignore": [".tsimp", ".yarn", "coverage", "dist", ".pnp.cjs", ".pnp.loader.mjs"] }, @@ -23,10 +23,6 @@ }, "css": { "formatter": { - "enabled": true, - "indentStyle": "space", - "indentWidth": 2, - "lineWidth": 100, "quoteStyle": "single" } }, diff --git a/packages/react-calendar/package.json b/packages/react-calendar/package.json index 5764e9ad..e383ff39 100644 --- a/packages/react-calendar/package.json +++ b/packages/react-calendar/package.json @@ -52,7 +52,7 @@ "warning": "^4.0.0" }, "devDependencies": { - "@biomejs/biome": "1.8.3", + "@biomejs/biome": "1.9.0", "@testing-library/dom": "^10.0.0", "@testing-library/jest-dom": "^6.0.0", "@testing-library/react": "^16.0.0", diff --git a/test/MaxDetailOptions.tsx b/test/MaxDetailOptions.tsx index 3c74b510..bf9043ef 100644 --- a/test/MaxDetailOptions.tsx +++ b/test/MaxDetailOptions.tsx @@ -40,6 +40,7 @@ export default function MaxDetailOptions({ type="radio" value={view} /> + {/* biome-ignore lint/a11y/noLabelWithoutControl: Pinky promise this label won't ever be empty */} ))} diff --git a/test/MinDetailOptions.tsx b/test/MinDetailOptions.tsx index ca926286..962f28e1 100644 --- a/test/MinDetailOptions.tsx +++ b/test/MinDetailOptions.tsx @@ -40,6 +40,7 @@ export default function MinDetailOptions({ type="radio" value={view} /> + {/* biome-ignore lint/a11y/noLabelWithoutControl: Pinky promise this label won't ever be empty */} ))} diff --git a/test/ViewOptions.tsx b/test/ViewOptions.tsx index 1a0acdcc..a1cb2b67 100644 --- a/test/ViewOptions.tsx +++ b/test/ViewOptions.tsx @@ -95,7 +95,7 @@ export default function ViewOptions({ onChange={onShowNeighboringCenturyChange} type="checkbox" /> - +
@@ -105,7 +105,7 @@ export default function ViewOptions({ onChange={onShowNeighboringDecadeChange} type="checkbox" /> - +
@@ -116,7 +116,7 @@ export default function ViewOptions({ onChange={onShowNeighboringMonthChange} type="checkbox" /> - +
diff --git a/test/package.json b/test/package.json index e0c81f5a..1e93bf5a 100644 --- a/test/package.json +++ b/test/package.json @@ -26,7 +26,7 @@ "react-dom": "^18.2.0" }, "devDependencies": { - "@biomejs/biome": "1.8.3", + "@biomejs/biome": "1.9.0", "@types/react": "*", "@vitejs/plugin-react": "^4.2.0", "typescript": "^5.5.2", diff --git a/yarn.lock b/yarn.lock index 91fc0eb9..15007add 100644 --- a/yarn.lock +++ b/yarn.lock @@ -285,18 +285,18 @@ __metadata: languageName: node linkType: hard -"@biomejs/biome@npm:1.8.3": - version: 1.8.3 - resolution: "@biomejs/biome@npm:1.8.3" - dependencies: - "@biomejs/cli-darwin-arm64": "npm:1.8.3" - "@biomejs/cli-darwin-x64": "npm:1.8.3" - "@biomejs/cli-linux-arm64": "npm:1.8.3" - "@biomejs/cli-linux-arm64-musl": "npm:1.8.3" - "@biomejs/cli-linux-x64": "npm:1.8.3" - "@biomejs/cli-linux-x64-musl": "npm:1.8.3" - "@biomejs/cli-win32-arm64": "npm:1.8.3" - "@biomejs/cli-win32-x64": "npm:1.8.3" +"@biomejs/biome@npm:1.9.0": + version: 1.9.0 + resolution: "@biomejs/biome@npm:1.9.0" + dependencies: + "@biomejs/cli-darwin-arm64": "npm:1.9.0" + "@biomejs/cli-darwin-x64": "npm:1.9.0" + "@biomejs/cli-linux-arm64": "npm:1.9.0" + "@biomejs/cli-linux-arm64-musl": "npm:1.9.0" + "@biomejs/cli-linux-x64": "npm:1.9.0" + "@biomejs/cli-linux-x64-musl": "npm:1.9.0" + "@biomejs/cli-win32-arm64": "npm:1.9.0" + "@biomejs/cli-win32-x64": "npm:1.9.0" dependenciesMeta: "@biomejs/cli-darwin-arm64": optional: true @@ -316,62 +316,62 @@ __metadata: optional: true bin: biome: bin/biome - checksum: 10c0/95fe99ce82cd8242f1be51cbf3ac26043b253f5a369d3dc24df09bdb32ec04dba679b1d4fa8b9d602b1bf2c30ecd80af14aa8f5c92d6e0cd6214a99a1099a65b + checksum: 10c0/b07ad2c8dc3d52c0a4eea37f98d36399b33a13759903aa65f9678db916810b773fe94937c304899158479bccd8c3c90f0f30af22b34d6dc5963774f1acc5e245 languageName: node linkType: hard -"@biomejs/cli-darwin-arm64@npm:1.8.3": - version: 1.8.3 - resolution: "@biomejs/cli-darwin-arm64@npm:1.8.3" +"@biomejs/cli-darwin-arm64@npm:1.9.0": + version: 1.9.0 + resolution: "@biomejs/cli-darwin-arm64@npm:1.9.0" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@biomejs/cli-darwin-x64@npm:1.8.3": - version: 1.8.3 - resolution: "@biomejs/cli-darwin-x64@npm:1.8.3" +"@biomejs/cli-darwin-x64@npm:1.9.0": + version: 1.9.0 + resolution: "@biomejs/cli-darwin-x64@npm:1.9.0" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@biomejs/cli-linux-arm64-musl@npm:1.8.3": - version: 1.8.3 - resolution: "@biomejs/cli-linux-arm64-musl@npm:1.8.3" +"@biomejs/cli-linux-arm64-musl@npm:1.9.0": + version: 1.9.0 + resolution: "@biomejs/cli-linux-arm64-musl@npm:1.9.0" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@biomejs/cli-linux-arm64@npm:1.8.3": - version: 1.8.3 - resolution: "@biomejs/cli-linux-arm64@npm:1.8.3" +"@biomejs/cli-linux-arm64@npm:1.9.0": + version: 1.9.0 + resolution: "@biomejs/cli-linux-arm64@npm:1.9.0" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@biomejs/cli-linux-x64-musl@npm:1.8.3": - version: 1.8.3 - resolution: "@biomejs/cli-linux-x64-musl@npm:1.8.3" +"@biomejs/cli-linux-x64-musl@npm:1.9.0": + version: 1.9.0 + resolution: "@biomejs/cli-linux-x64-musl@npm:1.9.0" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@biomejs/cli-linux-x64@npm:1.8.3": - version: 1.8.3 - resolution: "@biomejs/cli-linux-x64@npm:1.8.3" +"@biomejs/cli-linux-x64@npm:1.9.0": + version: 1.9.0 + resolution: "@biomejs/cli-linux-x64@npm:1.9.0" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@biomejs/cli-win32-arm64@npm:1.8.3": - version: 1.8.3 - resolution: "@biomejs/cli-win32-arm64@npm:1.8.3" +"@biomejs/cli-win32-arm64@npm:1.9.0": + version: 1.9.0 + resolution: "@biomejs/cli-win32-arm64@npm:1.9.0" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@biomejs/cli-win32-x64@npm:1.8.3": - version: 1.8.3 - resolution: "@biomejs/cli-win32-x64@npm:1.8.3" +"@biomejs/cli-win32-x64@npm:1.9.0": + version: 1.9.0 + resolution: "@biomejs/cli-win32-x64@npm:1.9.0" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -2559,7 +2559,7 @@ __metadata: version: 0.0.0-use.local resolution: "react-calendar@workspace:packages/react-calendar" dependencies: - "@biomejs/biome": "npm:1.8.3" + "@biomejs/biome": "npm:1.9.0" "@testing-library/dom": "npm:^10.0.0" "@testing-library/jest-dom": "npm:^6.0.0" "@testing-library/react": "npm:^16.0.0" @@ -2963,7 +2963,7 @@ __metadata: version: 0.0.0-use.local resolution: "test@workspace:test" dependencies: - "@biomejs/biome": "npm:1.8.3" + "@biomejs/biome": "npm:1.9.0" "@types/react": "npm:*" "@vitejs/plugin-react": "npm:^4.2.0" "@wojtekmaj/date-utils": "npm:^1.1.3"