Open Freed-Wu opened 1 year ago
https://github.com/rubocop/rubocop/blob/master/.pre-commit-hooks.yaml rubocop supports pre-commit. https://github.com/markdownlint/markdownlint/blob/main/.pre-commit-hooks.yaml markdownlint supports pre-commit. https://github.com/mvdan/sh/pull/966#issuecomment-1472788124 shfmt's author advice to use https://github.com/scop/pre-commit-shfmt. And it doesn't need to install shfmt because pre-commit support go now.
https://github.com/rubocop/rubocop/blob/master/.pre-commit-hooks.yaml rubocop supports pre-commit. https://github.com/markdownlint/markdownlint/blob/main/.pre-commit-hooks.yaml markdownlint supports pre-commit. https://github.com/mvdan/sh/pull/966#issuecomment-1472788124 shfmt's author advice to use https://github.com/scop/pre-commit-shfmt. And it doesn't need to install shfmt because pre-commit support go now.