Skip to content

Commit 003ccce

Browse files
committed
chore: run lint
1 parent 8e80ffd commit 003ccce

File tree

5 files changed

+9
-20
lines changed

5 files changed

+9
-20
lines changed

apps/mobile/package.json

+1-4
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,10 @@
33
"private": true,
44
"version": "0.1.0",
55
"type": "module",
6-
"workspaces": [
7-
"../../packages/*"
8-
],
6+
"workspaces": ["../../packages/*"],
97
"scripts": {
108
"dev": "bun run tauri android dev",
119
"build": "bun run tauri android build --apk",
12-
"tauri": "tauri",
1310
"dev:front-end": "vite",
1411
"build:front-end": "vite build",
1512
"preview": "vite preview",

apps/mobile/src/components/water-meter/delete-water-meter-form.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,9 @@ export const DeleteWaterMeterForm = ({ waterMeterId, token }: Props) => {
8888
variant="destructive"
8989
disabled={updateWaterMeterMutation.isPending}
9090
>
91-
{updateWaterMeterMutation.isPending ? "Deleting..." : "Delete WaterMeter"}
91+
{updateWaterMeterMutation.isPending
92+
? "Deleting..."
93+
: "Delete WaterMeter"}
9294
</Button>
9395
</DrawerFooter>
9496
</form>

biome.json

+1-7
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,7 @@
44
"enabled": true
55
},
66
"files": {
7-
"ignore": [
8-
".wrangler/**/*",
9-
"crates/dorf-tauri/**/*",
10-
"apps/mobile/src/routeTree.gen.ts",
11-
"dist/**/*",
12-
".next/**/*"
13-
]
7+
"ignore": [".wrangler/**/*", "src-tauri/**/*", "dist/**/*", ".next/**/*"]
148
},
159
"linter": {
1610
"enabled": true,

bun.lockb

-368 Bytes
Binary file not shown.

package.json

+4-8
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
11
{
22
"name": "dorf",
33
"private": true,
4-
"workspaces": [
5-
"packages/*",
6-
"apps/*",
7-
"tooling/*"
8-
],
4+
"workspaces": ["packages/*", "apps/*", "tooling/*"],
95
"scripts": {
106
"build": "turbo build",
117
"clean": "git clean -xdf node_modules",
128
"clean:workspaces": "turbo clean",
13-
"dev": "turbo dev --parallel --filter=@dorf/api --filter=@dorf/mobile",
149
"dev:api": "turbo dev --filter=@dorf/api",
15-
"dev:mobile": "turbo dev --filter=@dorf/mobile",
16-
"build:mobile": "turbo run --filter @dorf/mobile build",
10+
"dev:mobile": "bun --cwd=apps/mobile run dev",
11+
"build:mobile": "bun --cwd=apps/mobile run build",
12+
"tauri": "tauri",
1713
"test": "turbo test --parallel",
1814
"format": "biome format --write .",
1915
"lint": "turbo lint && bun lint:repo",

0 commit comments

Comments
 (0)