Skip to content

Commit e896705

Browse files
authored
fix: update config template so that it's valid for both v1 and v2 (#6)
1 parent d98a824 commit e896705

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

lefthook.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ pre-commit:
22
commands:
33
check:
44
glob: "*.{js,ts,jsx,tsx,json}"
5-
run: biome check --apply {staged_files} && git add {staged_files}
5+
run: bunx biome check --write {staged_files} && git add {staged_files}

templates/biome/biome.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
{
22
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
3-
"organizeImports": {
4-
"enabled": true
5-
},
63
"linter": {
74
"enabled": true,
85
"rules": {

0 commit comments

Comments
 (0)