mirror of
https://github.com/winapps-org/winapps.git
synced 2026-11-29 10:55:45 -05:00
updates: - [github.com/scop/pre-commit-shfmt: v3.13.1-1 → v3.14.1-1](https://github.com/scop/pre-commit-shfmt/compare/v3.13.1-1...v3.14.1-1) - [github.com/shellcheck-py/shellcheck-py: v0.11.0.1 → v0.11.0.1-1](https://github.com/shellcheck-py/shellcheck-py/compare/v0.11.0.1...v0.11.0.1-1)
53 lines
1.4 KiB
YAML
53 lines
1.4 KiB
YAML
exclude: ^(.+)\.patch$
|
|
|
|
repos:
|
|
- repo: https://github.com/Lucas-C/pre-commit-hooks
|
|
rev: v1.5.6
|
|
hooks:
|
|
- id: chmod
|
|
args: [ "755" ]
|
|
files: (\.sh|winapps)$
|
|
- id: forbid-crlf
|
|
exclude: '\.(bat|cmd|reg)$'
|
|
- id: remove-crlf
|
|
exclude: '\.(bat|cmd|reg)$'
|
|
- id: forbid-tabs
|
|
- id: remove-tabs
|
|
args: [ --whitespaces-count, "4" ]
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v6.0.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
|
|
exclude: '\.(bat|cmd|reg)$'
|
|
- 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.14.1-1
|
|
hooks:
|
|
- id: shfmt
|
|
args: ["-i", "4", "-ci", "-s"]
|
|
|
|
- repo: https://github.com/shellcheck-py/shellcheck-py
|
|
rev: v0.11.0.1-1
|
|
hooks:
|
|
- id: shellcheck
|