Merge pull request #6361 from jbampton/add-pre-commit-hook-shellcheck

This commit is contained in:
Yukihiro "Matz" Matsumoto
2024-09-24 09:44:25 +09:00
committed by GitHub
2 changed files with 4 additions and 1 deletions
-1
View File
@@ -22,7 +22,6 @@ jobs:
- name: Lint Code Base
uses: super-linter/super-linter/slim@v7.1.0
env:
VALIDATE_BASH: true
# VALIDATE_BASH_EXEC: true
VALIDATE_DOCKERFILE_HADOLINT: true
# VALIDATE_EDITORCONFIG: true
+4
View File
@@ -77,6 +77,10 @@ repos:
args: [--config=.github/linters/mlc_config.json, -q]
types: [markdown]
files: \.md$
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.10.0.1
hooks:
- id: shellcheck
- repo: https://github.com/adrienverge/yamllint
rev: v1.35.1
hooks: