Skip to content

Commit

Permalink
Simplify biome commands
Browse files Browse the repository at this point in the history
  • Loading branch information
starsep committed Feb 20, 2024
1 parent bc60a76 commit 9e0681e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pre-commit:
parallel: true
commands:
biome:
run: bun run lint-fix
run: bun lint-fix
stage_fixed: true
test:
run: bun test
Expand Down
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@
"start": "bunx --bun vite",
"build": "vite build",
"typecheck": "tsc -p ./tsconfig.json --noEmit",
"lint": "biome lint .",
"lint-fix": "biome lint . --apply",
"format": "biome format . --write",
"lint-fix": "biome check . --apply",
"check": "biome ci .",
"test": "bun test",
"css-build": "sass sass/mystyles.scss src/mystyles.css"
Expand Down
2 changes: 1 addition & 1 deletion src/3rdparty/reactStoreBadges.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as fs from "fs";
import { describe, expect, it } from "bun:test";
import * as fs from "fs";
import { appStorePath, googlePlayPath } from "~/3rdparty/reactStoreBadges";
import languages from "~/languages";

Expand Down

0 comments on commit 9e0681e

Please sign in to comment.