Skip to content

Commit 933b270

Browse files
committed
⚙️ setup (ci): use bunx biome for lint and compact biome config arrays
1 parent 4181551 commit 933b270

2 files changed

Lines changed: 6 additions & 17 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
run: bun install --frozen-lockfile
5151

5252
- name: Lint
53-
run: biome check . --reporter=github
53+
run: bunx biome check . --reporter=github
5454

5555
- name: Type checking
5656
run: bun run type-check

biome.json

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@
66
"useIgnoreFile": true
77
},
88
"files": {
9-
"includes": [
10-
"**",
11-
"!!**/dist"
12-
]
9+
"includes": ["**", "!!**/dist"]
1310
},
1411
"formatter": {
1512
"enabled": true,
@@ -106,10 +103,7 @@
106103
},
107104
"overrides": [
108105
{
109-
"includes": [
110-
"**/*.ts",
111-
"**/*.js"
112-
],
106+
"includes": ["**/*.ts", "**/*.js"],
113107
"linter": {
114108
"rules": {
115109
"complexity": {
@@ -148,9 +142,7 @@
148142
}
149143
},
150144
{
151-
"includes": [
152-
"**/*.js"
153-
],
145+
"includes": ["**/*.js"],
154146
"linter": {
155147
"rules": {
156148
"style": {
@@ -160,10 +152,7 @@
160152
}
161153
},
162154
{
163-
"includes": [
164-
"*.config.js",
165-
".*.js"
166-
],
155+
"includes": ["*.config.js", ".*.js"],
167156
"linter": {
168157
"rules": {
169158
"style": {
@@ -184,4 +173,4 @@
184173
}
185174
}
186175
}
187-
}
176+
}

0 commit comments

Comments
 (0)