winapps/.pre-commit-config.yaml
Oskar Manhart 3cb2e189c2 Reapply "Merge pull request #15 from winapps-org/add-contribution-guidelines"
This reverts commit 2dd0980cc92cdf56607ce4d96bb260a97b5c1b78.
2024-09-07 18:16:13 +02:00

57 lines
1.4 KiB
YAML

ci:
autoupdate_branch: "rewrite"
skip: [license-tools]
repos:
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.5
hooks:
- id: chmod
args: [ "775" ]
files: (\.sh|winapps)$
- id: forbid-crlf
- id: remove-crlf
- id: forbid-tabs
- id: remove-tabs
args: [ --whitespaces-count, "4" ]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-json
- id: check-merge-conflict
- id: check-shebang-scripts-are-executable
- id: check-symlinks
- id: check-toml
- id: check-vcs-permalinks
- id: check-xml
- id: check-yaml
- id: destroyed-symlinks
- id: detect-private-key
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: mixed-line-ending
- id: pretty-format-json
args: [ "--autofix", "--no-sort-keys" ]
- id: sort-simple-yaml
- id: trailing-whitespace
- repo: https://github.com/scop/pre-commit-shfmt
rev: v3.8.0-1
hooks:
- id: shfmt
args: ["-i", "4", "-ci", "-s"]
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.10.0.1
hooks:
- id: shellcheck
- repo: https://github.com/emzeat/mz-lictools
rev: v2.7.0
hooks:
- id: license-tools