From 20935d94cd6bdb26441c70243c02fd278c77a554 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Sun, 30 Jun 2019 19:16:07 +0300 Subject: [PATCH] Added pre-commit config, nothing to correct (yay!). --- .pre-commit-config.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..a12c2fd --- /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 -- GitLab