Skip to content

Commit

Permalink
chore: use pre-commit (#1977)
Browse files Browse the repository at this point in the history
* chore: use pre-commit

* remove biome

* fix: remove husky

* chore: timeout;
  • Loading branch information
9renpoto authored Jan 19, 2024
1 parent b103258 commit 7f069c9
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 697 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

jobs:
build:
timeout-minutes: 5
timeout-minutes: 10
runs-on: ubuntu-latest

strategy:
Expand Down
1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
repos:
- repo: https://github.com/biomejs/pre-commit
rev: "v0.1.0"
hooks:
- id: biome-check
additional_dependencies: ["@biomejs/[email protected]"]
Loading

0 comments on commit 7f069c9

Please sign in to comment.