TIL: Use pre-commit hook - the framework

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • pre-commit-perl

    perl hooks for https://pre-commit.com/

  • Perl, perltidy and perlcritic (henryykt/pre-commit-perl)

  • markdownlint-cli

    MarkdownLint Command Line Interface

  • $ cd til $ pre-commit autoupdate Updating https://github.com/pre-commit/pre-commit-hooks ... [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. updating v2.3.0 -> v4.0.1. Updating https://github.com/igorshubovych/markdownlint-cli ... already up to date.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • pre-commit-hooks

    Some out-of-the-box hooks for pre-commit

  • $ pre-commit run --all-files [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... Trim Trailing Whitespace.................................................Failed - hook id: trailing-whitespace - exit code: 1 - files were modified by this hook Fixing MANIFEST.SKIP Fixing .github/dependabot.yml Fix End of Files.........................................................Failed - hook id: end-of-file-fixer - exit code: 1 - files were modified by this hook Fixing _config.yml Fixing .github/dependabot.yml Check Yaml...............................................................Passed Check for added large files..............................................Passed

  • check-jsonschema

    A CLI and set of pre-commit hooks for jsonschema validation with built-in support for GitHub Workflows, Renovate, Azure Pipelines, and more!

  • GitHub configurations (sirosen/check-jsonschema)

  • pre-commit-hooks

    git pre-commit hooks that work with http://pre-commit.com/ (by jumanjihouse)

  • shellcheck (jumanjihouse/pre-commit-hooks)

  • pre-commit

    A framework for managing and maintaining multi-language pre-commit hooks.

  • $ pre-commit sample-config # See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v3.2.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml - id: check-added-large-files

  • pre-commit-hooks

    An experiment with Git pre-commit hooks (by jonasbn)

  • I have just started on a hook myself, to remind me not to commit directly to main (master), but I can always overwrite you know.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts