Difference between revisions of ".pre-commit-config.yaml"

From wikieduonline
Jump to navigation Jump to search
Line 9: Line 9:
 
       - id: [[end-of-file-fixer]]
 
       - id: [[end-of-file-fixer]]
 
       - id: [[detect-private-key]]
 
       - id: [[detect-private-key]]
 +
      - id: check-added-large-files
 +
      - id: check-merge-conflict
 +
      - id: check-vcs-permalinks
 
   
 
   
 
   - repo: https://github.com/antonbabenko/pre-commit-terraform
 
   - repo: https://github.com/antonbabenko/pre-commit-terraform

Revision as of 12:37, 3 April 2023

https://github.com/pre-commit/pre-commit/blob/master/.pre-commit-config.yaml

repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.4.0
    hooks:
      - id: trailing-whitespace
        exclude: ^integrations/wizink/tests/data/
      - id: end-of-file-fixer
      - id: detect-private-key
      - id: check-added-large-files
      - id: check-merge-conflict
      - id: check-vcs-permalinks

  - repo: https://github.com/antonbabenko/pre-commit-terraform
    rev: v1.77.0
    hooks:
    - id: terraform_fmt
    - id: terraform_tflint

Related

See also

Advertising: