repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.5.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml - id: check-merge-conflict - repo: local hooks: - id: typescript-check name: TypeScript type check entry: npm run build language: system pass_filenames: false files: \.(ts|tsx)$ - id: prettier name: Prettier formatting entry: npx prettier --write --ignore-unknown language: system types: [text] files: \.(ts|tsx|js|jsx|json|md)$