repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v6.0.0 hooks: - id: check-json - id: check-yaml - id: end-of-file-fixer - id: trailing-whitespace exclude: | (?x)^( test/__snapshots__/.*snap| test/.*/__snapshots__/.*snap )$ - repo: https://github.com/pre-commit/mirrors-prettier rev: v3.1.0 hooks: - id: prettier additional_dependencies: ["prettier@3.7.4"] - repo: https://github.com/pre-commit/mirrors-eslint rev: v9.38.0 hooks: - id: eslint args: [--fix, --quiet] files: eslint\.config\.(js|mjs)|(src|test)\/.*\.(ts|tsx|js|jsx|json|mjs)?$ types: [file] - repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook rev: v9.23.0 hooks: - id: commitlint stages: [commit-msg] additional_dependencies: ["@open-turo/commitlint-config-conventional"] - repo: https://github.com/rhysd/actionlint rev: v1.7.8 hooks: - id: actionlint