ci: skip: [npm-build, eslint] repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v6.0.0 hooks: - id: check-json # This E2E fixture is intentionally malformed JSON — it drives the # error-handling spec that asserts the app rejects a broken drop. exclude: ^e2e/fixtures/malformed\.geojson$ - id: check-added-large-files args: ["--maxkb=1024", "--enforce-all"] - id: check-merge-conflict - id: check-toml - id: check-yaml args: ["--unsafe"] - id: end-of-file-fixer - id: mixed-line-ending args: ["--fix=lf"] - id: trailing-whitespace - repo: local hooks: - id: eslint name: eslint entry: npm run lint language: system pass_filenames: false types_or: [ts, tsx, javascript, jsx] - id: npm-build name: npm build entry: npm run build language: system pass_filenames: false - repo: https://github.com/kynan/nbstripout rev: 0.9.1 hooks: - id: nbstripout