| 1 | repos: |
| 2 | - repo: https://github.com/pre-commit/pre-commit-hooks |
| 3 | rev: v3.2.0 |
| 4 | hooks: |
| 5 | - id: check-yaml |
| 6 | - id: end-of-file-fixer |
| 7 | - id: trailing-whitespace |
| 8 | - repo: https://github.com/astral-sh/ruff-pre-commit |
| 9 | # Ruff version. |
| 10 | rev: v0.2.2 |
| 11 | hooks: |
| 12 | - id: ruff |
| 13 | - repo: local |
| 14 | hooks: |
| 15 | - id: local-biome-check |
| 16 | name: biome check |
| 17 | entry: npx @biomejs/biome@1.8.3 check --config-path nodejs/biome.json nodejs/ |
| 18 | language: system |
| 19 | types: [text] |
| 20 | files: "nodejs/.*" |
| 21 | exclude: nodejs/lancedb/native.d.ts|nodejs/dist/.*|nodejs/examples/.* |