Skip to content

Commit 9431971

Browse files
committed
chore: upgrade to biome v2
1 parent 178d9df commit 9431971

4 files changed

Lines changed: 76 additions & 79 deletions

File tree

biome.json

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

package-lock.json

Lines changed: 71 additions & 72 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
@@ -42,7 +42,7 @@
4242
"contribution": "^7.1.0"
4343
},
4444
"devDependencies": {
45-
"@biomejs/biome": "^1.9.4",
45+
"@biomejs/biome": "^2.1.1",
4646
"@commitlint/cli": "^19.8.0",
4747
"@commitlint/config-conventional": "^19.8.0",
4848
"@semantic-release/changelog": "^6.0.3",

src/run.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ ${buildContributionGraph(gitHubStats.contributions)}`);
3939
);
4040

4141
return process.exit(0);
42-
} catch (error) {
42+
} catch (_error) {
4343
console.error(`\n${red('Failed to fetch contribution stats')}`);
4444
return process.exit(1);
4545
}

0 commit comments

Comments
 (0)