Skip to content

Commit 83bc8b9

Browse files
authored
chore(deps-dev): bump @biomejs/biome from 1.9.4 to 2.3.9 (#159)
This bumps @biomejs/biome from 1.9.4 to 2.3.9. That's it.
1 parent f626b03 commit 83bc8b9

File tree

5 files changed

+48
-50
lines changed

5 files changed

+48
-50
lines changed

biome.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,25 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.3.9/schema.json",
33
"vcs": {
44
"enabled": false,
55
"clientKind": "git",
66
"useIgnoreFile": false
77
},
88
"files": {
99
"ignoreUnknown": false,
10-
"ignore": []
10+
"includes": ["**/*.js", "**/*.json"]
1111
},
1212
"formatter": {
1313
"enabled": true,
1414
"indentStyle": "space",
1515
"indentWidth": 4
1616
},
17-
"organizeImports": {
18-
"enabled": true
17+
"assist": {
18+
"actions": {
19+
"source": {
20+
"organizeImports": "on"
21+
}
22+
}
1923
},
2024
"linter": {
2125
"enabled": true,

package-lock.json

Lines changed: 36 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"dev:clean": "make dev-clean"
1212
},
1313
"devDependencies": {
14-
"@biomejs/biome": "1.9.4",
14+
"@biomejs/biome": "2.3.9",
1515
"jest": "^30.2.0",
1616
"jest-environment-jsdom": "^29.7.0",
1717
"nodemon": "^3.1.10"

src/__tests__/mergify.test.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,6 @@ describe("isMergifyEnabledOnTheRepo caching behavior", () => {
127127
beforeEach(() => {
128128
localStorage.clear();
129129
// Mock document.location
130-
131-
// biome-ignore lint/performance/noDelete: <explanation>
132130
delete window.location;
133131
window.location = new URL(
134132
"https://github.com/cypress-io/cypress/pull/32277",
@@ -173,7 +171,6 @@ describe("getMergifyConfigurationStatus", () => {
173171
localStorage.clear();
174172
// Mock window.location for pull request data
175173
//
176-
// biome-ignore lint/performance/noDelete: <explanation>
177174
delete window.location;
178175
window.location = new URL(
179176
"https://github.com/test-org/test-repo/pull/123",

src/mergify.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ async function getMergifyConfigurationStatus() {
428428
.match(/^(?<count>\d+) files?$/);
429429

430430
debug(match);
431-
const found = Boolean(match && Number.parseInt(match.groups.count) > 0);
431+
const found = Boolean(match && Number.parseInt(match.groups.count, 10) > 0);
432432
debug(found);
433433
debug(cachedValue);
434434

@@ -514,7 +514,7 @@ class MergifyCache {
514514
tryInject();
515515

516516
// On DOM change
517-
const observer = new MutationObserver((mutations) => {
517+
const observer = new MutationObserver((_mutations) => {
518518
tryInject();
519519
});
520520
observer.observe(document.body, {
@@ -533,4 +533,4 @@ try {
533533
getPullRequestData,
534534
getMergifyConfigurationStatus,
535535
};
536-
} catch (e) {}
536+
} catch (_error) {}

0 commit comments

Comments
 (0)