Loading README.rst +2 −1 Changes for README.rst: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -21,9 +21,10 @@ Add the following to your :code:`.pre-commit-config.yaml`: .. code:: yaml - repo: https://www.shore.co.il/git/shell-pre-commit/ sha: v0.2.0 sha: v0.3.0 hooks: - id: shell-lint - id: shellcheck And run :code:`pre-commit autoupdate` to update the hooks. Loading hooks.yaml +7 −1 Changes for hooks.yaml: 7 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -5,4 +5,10 @@ language: system entry: /bin/sh args: ['-en'] files: \.(sh|bash|ksh|zsh)$ files: &shell_scripts \.(sh|bash|ksh|zsh)$ - id: shellcheck name: shellcheck description: A shell script static analysis tool language: system entry: shellcheck files: *shell_scripts Loading
README.rst +2 −1 Changes for README.rst: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -21,9 +21,10 @@ Add the following to your :code:`.pre-commit-config.yaml`: .. code:: yaml - repo: https://www.shore.co.il/git/shell-pre-commit/ sha: v0.2.0 sha: v0.3.0 hooks: - id: shell-lint - id: shellcheck And run :code:`pre-commit autoupdate` to update the hooks. Loading
hooks.yaml +7 −1 Changes for hooks.yaml: 7 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -5,4 +5,10 @@ language: system entry: /bin/sh args: ['-en'] files: \.(sh|bash|ksh|zsh)$ files: &shell_scripts \.(sh|bash|ksh|zsh)$ - id: shellcheck name: shellcheck description: A shell script static analysis tool language: system entry: shellcheck files: *shell_scripts