Skip to content

Commit 0279171

Browse files
committed
chore: migrate to Biome 2
1 parent 7db2323 commit 0279171

File tree

3 files changed

+21
-7
lines changed

3 files changed

+21
-7
lines changed

biome.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.0.5/schema.json",
33
"vcs": {
44
"enabled": true,
55
"clientKind": "git",
66
"useIgnoreFile": true
77
},
8-
"organizeImports": {
9-
"enabled": true
8+
"assist": {
9+
"actions": {
10+
"source": {
11+
"organizeImports": "on"
12+
}
13+
}
1014
},
1115
"linter": {
1216
"enabled": true,
@@ -25,7 +29,7 @@
2529
},
2630
"overrides": [
2731
{
28-
"include": ["test/debug.js"],
32+
"includes": ["test/debug.js"],
2933
"formatter": {
3034
"lineWidth": 320
3135
}

package.json

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
"type": "git",
99
"url": "[email protected]:scriptcoded/sql-highlight.git"
1010
},
11-
"files": ["/lib"],
11+
"files": [
12+
"/lib"
13+
],
1214
"engines": {
1315
"node": ">=14"
1416
},
@@ -18,9 +20,16 @@
1820
"lint": "biome check",
1921
"lint:fix": "biome check --write"
2022
},
21-
"keywords": ["sql", "syntax", "highlight", "highlighter"],
23+
"keywords": [
24+
"sql",
25+
"syntax",
26+
"highlight",
27+
"highlighter"
28+
],
2229
"author": "Malcolm Nihlén <[email protected]>",
23-
"contributors": ["pomahtuk"],
30+
"contributors": [
31+
"pomahtuk"
32+
],
2433
"funding": [
2534
"https://github.com/scriptcoded/sql-highlight?sponsor=1",
2635
{

release.config.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ module.exports = {
2525
{
2626
assets: ['CHANGELOG.md', 'package.json', 'package-lock.json'],
2727
message:
28+
// biome-ignore lint/suspicious/noTemplateCurlyInString: This is a template for semantic-release and not supposed to be a template literal
2829
'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}'
2930
}
3031
]

0 commit comments

Comments
 (0)