repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.6.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-merge-conflict - id: check-added-large-files - id: check-json - id: check-yaml - id: detect-private-key - repo: https://github.com/Yelp/detect-secrets rev: v1.5.0 hooks: - id: detect-secrets args: ['--baseline', '.secrets.baseline'] exclude: package-lock.json - repo: https://github.com/zricethezav/gitleaks rev: v8.21.2 hooks: - id: gitleaks - repo: local hooks: - id: eslint name: eslint entry: npm run lint:check language: system files: \.(js|ts)$ - id: prettier name: prettier entry: npm run format:check language: system files: \.(js|ts|json|md)$