commit ef778866fd65b706e11ef59415993c206280e023 parent ec708ac9a8a340a33460221dd5cb0a018f128b82 Author: Wojciech Siewierski <wojciech@siewierski.eu> Date: Mon, 24 Apr 2023 18:33:34 +0200 Add a pre-commit hook Diffstat:
| A | .pre-commit-config.yaml | | | 23 | +++++++++++++++++++++++ |
1 file changed, 23 insertions(+), 0 deletions(-)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml @@ -0,0 +1,23 @@ +repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v3.2.0 + hooks: + - id: end-of-file-fixer + exclude: '^LICENSE$' + - id: check-yaml + - id: check-added-large-files + +- repo: meta + hooks: + - id: check-useless-excludes + +- repo: https://codeberg.org/vifon/pre-commit-hooks + rev: e29e31052769a9495e9b182b6103a8baf2dc5544 + hooks: + - id: shellcheck + - id: elisp-check-parens + - id: elisp-checkdoc + - id: elisp-package-lint + args: [--main-file, kmacro-x.el] + - id: no-elc + - id: no-tabs