Skip to content

Commit 5d72813

Browse files
committed
chore(biome): format, sort imports, lint and apply safe fixes
1 parent 40136d7 commit 5d72813

File tree

4 files changed

+6
-10
lines changed

4 files changed

+6
-10
lines changed

.husky/pre-commit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env sh
22
. "$(dirname -- "$0")/_/husky.sh"
33

4-
pnpm lint
5-
pnpm format
4+
pnpm biome
5+
pnpm test

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
"clean": "turbo clean",
1515
"build": "turbo build",
1616
"dev": "turbo dev",
17-
"format": "biome format --write ./",
18-
"lint": "biome lint ./",
17+
"biome": "biome check --write --no-errors-on-unmatched",
1918
"changeset": "changeset",
2019
"changeset:version": "changeset version",
2120
"changeset:release": "changeset publish",

packages/pinorama-studio/package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@
66
"bin": {
77
"pinorama": "./cli.mjs"
88
},
9-
"files": [
10-
"dist",
11-
"cli.mjs"
12-
],
9+
"files": ["dist", "cli.mjs"],
1310
"scripts": {
1411
"dev": "vite",
1512
"build": "tsc && vite build",

packages/pinorama-studio/src/components/ui/menubar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import * as React from "react"
21
import * as MenubarPrimitive from "@radix-ui/react-menubar"
32
import { Check, ChevronRight, Circle } from "lucide-react"
3+
import * as React from "react"
44

55
import { cn } from "@/lib/utils"
66

@@ -230,5 +230,5 @@ export {
230230
MenubarSubTrigger,
231231
MenubarGroup,
232232
MenubarSub,
233-
MenubarShortcut,
233+
MenubarShortcut
234234
}

0 commit comments

Comments
 (0)