diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a12c2fd8fe547b5ba1151d1b89817db601cdbd6b --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,27 @@ +# vim:ff=unix ts=2 sw=2 ai expandtab +--- +repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v2.2.3 + hooks: + - id: check-added-large-files + - id: check-executables-have-shebangs + - id: check-merge-conflict + - id: detect-private-key + - id: trailing-whitespace + exclude: \.diff$ + - repo: https://github.com/adrienverge/yamllint + rev: v1.16.0 + hooks: + - id: yamllint + - repo: https://github.com/amperser/proselint/ + rev: 0.10.2 + hooks: + - id: proselint + types: [plain-text] + exclude: LICENSE|requirements + - repo: https://www.shore.co.il/git/shell-pre-commit/ + rev: v0.6.0 + hooks: + - id: shell-lint + - id: shellcheck