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

From wikieduonline
Jump to navigation Jump to search
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
https://github.com/pre-commit/pre-commit/blob/master/.pre-commit-config.yaml
 
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
 +
      - id: trailing-whitespace
 +
        args: [--markdown-linebreak-ext=md]
 +
      - id: [[check-yaml]]
 +
      - id: check-executables-have-[[shebangs]]
 +
 +
  - repo: https://github.com/antonbabenko/pre-commit-terraform
 +
    rev: v1.77.1
 +
    hooks: # https://github.com/antonbabenko/pre-commit-terraform#available-hooks
 +
    - id: [[terraform_fmt]]
 +
    - id: [[terraform_tflint]]
  
 +
== Related ==
 
* <code>[[pre-commit]]</code>
 
* <code>[[pre-commit]]</code>
 +
* [[Infracost]]
 +
* [[terrascan]]
 +
* [[tfupdate]]
 +
* [[terraform fmt]], [[terraform validate]]
  
 
== See also ==
 
== See also ==

Latest revision as of 16:13, 20 February 2024

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
      - id: trailing-whitespace
        args: [--markdown-linebreak-ext=md]
      - id: check-yaml
      - id: check-executables-have-shebangs

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

Related[edit]

See also[edit]

Advertising: