Skip to content

Replace "No secrets committed to Git" check with Git hooks? #554

@karlhorky

Description

@karlhorky

Instead of checking for secrets after the fact with Preflight, we could instead install a pre-commit Git hook that will check for them, as suggested in this tweet:

The only pre-commit hook you should have is one scanning commits for secrets and API keys.

We could add this with the scaffolder / starter command, which the install script in eslint-config-upleveled should turn into:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions