Skip to content
Snippets Groups Projects
.pre-commit-config.yaml 384 B
Newer Older
Ludovic Claude's avatar
Ludovic Claude committed
repos:
- repo: git://github.com/pre-commit/pre-commit-hooks
Ludovic Claude's avatar
Ludovic Claude committed
  rev: v2.1.0
  hooks:
    - id: trailing-whitespace
    - id: end-of-file-fixer
Ludovic Claude's avatar
Ludovic Claude committed
      exclude: .bumpversion.cfg
    - id: check-merge-conflict
Ludovic Claude's avatar
Ludovic Claude committed
      exclude: LICENSE
Ludovic Claude's avatar
Ludovic Claude committed
    - id: check-added-large-files
    - id: check-yaml
Ludovic Claude's avatar
Ludovic Claude committed
    - id: check-json
    - id: pretty-format-json
      args: ["--autofix"]
      exclude: slack.json