Skip to content
Snippets Groups Projects
.pre-commit-config.yaml 1.25 KiB
Newer Older
nimrod's avatar
nimrod committed
---
repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks.git
nimrod's avatar
nimrod committed
    rev: v4.0.1
nimrod's avatar
nimrod committed
    hooks:
      - id: check-added-large-files
      - id: check-executables-have-shebangs
      - id: check-merge-conflict
      - id: check-symlinks
      - id: trailing-whitespace

  - repo: https://github.com/Yelp/detect-secrets
nimrod's avatar
nimrod committed
    rev: v1.1.0
nimrod's avatar
nimrod committed
    hooks:
      - id: detect-secrets

  - repo: https://github.com/adrienverge/yamllint
nimrod's avatar
nimrod committed
    rev: v1.26.3
nimrod's avatar
nimrod committed
    hooks:
      - id: yamllint

  - repo: https://github.com/amperser/proselint/
    rev: 0.10.2
    hooks:
      - id: proselint
        types: [plain-text]
        exclude: LICENSE

  - repo: https://github.com/executablebooks/mdformat.git
nimrod's avatar
nimrod committed
    rev: 0.7.10
nimrod's avatar
nimrod committed
    hooks:
      - id: mdformat

  - repo: https://github.com/shellcheck-py/shellcheck-py.git
nimrod's avatar
nimrod committed
    rev: v0.7.2.1
nimrod's avatar
nimrod committed
    hooks:
      - id: shellcheck

nimrod's avatar
nimrod committed
  - repo: https://git.shore.co.il/nimrod/pre-commit-hooks.git/
    rev: v0.2.0
nimrod's avatar
nimrod committed
    hooks:
nimrod's avatar
nimrod committed
      - id: shell-validate
nimrod's avatar
nimrod committed
      - id: docker-compose
nimrod's avatar
nimrod committed

  - repo: https://gitlab.com/devopshq/gitlab-ci-linter
    rev: v1.0.4
    hooks:
      - id: gitlab-ci-linter
        args:
          - "--server"
          - https://git.shore.co.il

  - repo: https://github.com/AleksaC/hadolint-py.git
nimrod's avatar
nimrod committed
    rev: v2.7.0
nimrod's avatar
nimrod committed
    hooks:
      - id: hadolint