Skip to content

Commit f95be78

Browse files
committed
fix: lint command
1 parent a33c7af commit f95be78

3 files changed

Lines changed: 15 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
pnpm build
3636
pnpm type-check
3737
pnpm test:code:gen
38+
pnpm lint
3839
pnpm test
3940
env:
4041
CI: true

biome.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.0.0/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.4.12/schema.json",
33
"assist": { "actions": { "source": { "organizeImports": "on" } } },
44
"formatter": {
55
"enabled": true,
@@ -24,6 +24,17 @@
2424
},
2525
"correctness": {
2626
"noUnusedImports": "error"
27+
},
28+
"suspicious": {
29+
"noExplicitAny": "off",
30+
"useIterableCallbackReturn": "off"
31+
},
32+
"performance": {
33+
"noAccumulatingSpread": "off"
34+
},
35+
"complexity": {
36+
"noStaticOnlyClass": "off",
37+
"noBannedTypes": "off"
2738
}
2839
}
2940
},

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@
5959
"scripts": {
6060
"build": "tsup",
6161
"clean": "pnpm ts ./scripts/clean.ts",
62-
"format": "biome format --write .",
62+
"format": "biome format --write --unsafe .",
6363
"lerna:version:up": "lerna version --yes",
64-
"lint": "biome lint .",
64+
"lint": "biome check .",
6565
"release:github:registry": "pnpm publish --no-git-checks --registry https://npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}",
6666
"release:npm:registry": "pnpm publish --no-git-checks",
6767
"test": "run-p test:depcruise test:vitest test:code:gen:* test:snapshot",

0 commit comments

Comments
 (0)