diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6cc5c36..0880f0c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,9 +1,17 @@ repos: + # https://github.com/pre-commit/pre-commit-hooks#pre-commit-hooks + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.6.0 + hooks: + - id: check-yaml + - id: end-of-file-fixer + - id: trailing-whitespace + - id: check-added-large-files + - repo: local hooks: - id: local-biome-check name: biome check - entry: bun biome check --write --files-ignore-unknown=true --no-errors-on-unmatched + entry: bunx @biomejs/biome check --write src/. language: system types: [text] - files: "\\.(jsx?|tsx?|c(js|ts)|m(js|ts)|d\\.(ts|cts|mts)|jsonc?)$"