--- repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v6.0.0 hooks: - id: requirements-txt-fixer - id: detect-aws-credentials - id: detect-private-key - id: trailing-whitespace args: [--markdown-linebreak-ext=md] - id: check-case-conflict - id: check-merge-conflict - id: check-executables-have-shebangs - id: check-shebang-scripts-are-executable - id: check-symlinks - id: check-toml - id: check-xml - id: check-yaml args: [--allow-multiple-documents] - id: end-of-file-fixer - id: mixed-line-ending args: [--fix=auto] - repo: local hooks: - id: biome-check name: Biome Check entry: yarn biome check --write --files-ignore-unknown=true --no-errors-on-unmatched language: system files: \.(js|ts|jsx|tsx|json|md)$ - id: markdown-table-formatter name: Markdown Table Formatter entry: yarn markdown-table-formatter language: system types: [markdown] - repo: https://github.com/adrienverge/yamllint rev: v1.38.0 hooks: - id: yamllint - repo: https://github.com/pre-commit/mirrors-prettier rev: v4.0.0-alpha.8 hooks: - id: prettier types_or: [yaml] additional_dependencies: - prettier@3.8.1 - repo: https://github.com/shellcheck-py/shellcheck-py rev: v0.11.0.1 hooks: - id: shellcheck - repo: https://github.com/scop/pre-commit-shfmt rev: v3.12.0-2 hooks: - id: shfmt args: [-i, "2", -bn, -ci, -sr, -fn, -w] - repo: https://github.com/rhysd/actionlint rev: v1.7.10 hooks: - id: actionlint - repo: https://github.com/JohnnyMorganz/StyLua rev: v2.3.1 hooks: - id: stylua # or stylua-system / stylua-github exclude: hammerspoon\.types\.lua$ - repo: https://github.com/hugoh/pre-commit-fish.git rev: v1.2 hooks: - id: fish_syntax - id: fish_indent - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.15.0 hooks: - id: ruff-check args: [--fix] - id: ruff-format