diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1eee3de0..54833a0d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -37,7 +37,7 @@ repos: - id: markdownlint name: Run markdownlint description: Check Markdown files with markdownlint - entry: markdownlint -c .github/linters/.markdown-lint.yml . + args: [--config=.github/linters/.markdown-lint.yml] types: [markdown] files: \.md$ - repo: https://github.com/adrienverge/yamllint @@ -46,6 +46,6 @@ repos: - id: yamllint name: Run yamllint description: Check YAML files with yamllint - entry: yamllint --strict -c .github/linters/.yaml-lint.yml . + args: [--strict, -c=.github/linters/.yaml-lint.yml] types: [yaml] - files: \.(yml|yaml)$ + files: \.ya?ml$