Skip to content

Custom yaml package #172

Closed
Closed
@tartavull

Description

@tartavull

Thank you for making pre-commit-hooks.nix!

My .pre-commit-config.yaml looks like:

exclude: (^proto/)|(vendor/)
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-xml
      - id: check-json
        exclude: ^(.+\/)*(\.vscode|\.devcontainer)\/.*$
      - id: check-added-large-files
      - id: check-merge-conflict
      - id: mixed-line-ending
      - id: debug-statements
      - id: requirements-txt-fixer
  - repo: https://github.com/prettier/pre-commit
    rev: v2.1.2
    hooks:
      - id: prettier

  - repo: https://github.com/yoheimuta/protolint
    rev: v0.32.0
    hooks:
      - id: protolint
        args:
          - "-fix"

It seems that prettier is available but not the other two repos. How should I go about adding them?

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