Skip to content
Snippets Groups Projects
.pre-commit-config.yaml 364 B
repos:
-   repo: local
    hooks:
    -   id: gitleaks
        name: gitleaks
        language: system
        entry: gitleaks protect --staged -v -c ../.gitleaks.toml
        pass_filenames: false
        always_run: true
    -   id: lint
        name: lint
        language: system
        entry: yarn lint
        pass_filenames: false
        always_run: true