diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3893731..cae04b3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,6 +6,10 @@ repos: - id: check-json - id: check-yaml - id: trailing-whitespace + - id: end-of-file-fixer + - id: check-merge-conflict + - id: mixed-line-ending + - id: check-yaml - repo: https://github.com/igorshubovych/markdownlint-cli rev: v0.23.2 @@ -19,3 +23,10 @@ repos: - id: markdown-toc - id: mdspell - id: spelling-sort + + - repo: https://github.com/shellcheck-py/shellcheck-py + rev: v0.9.0.2 + hooks: + - id: shellcheck + name: lint shell scripts with shellcheck + types: [shell]