mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
pre-commit: fix the arguments syntax
https://github.com/igorshubovych/markdownlint-cli?tab=readme-ov-file#use-with-pre-commit https://yamllint.readthedocs.io/en/stable/integration.html#integration-with-pre-commit
This commit is contained in:
@@ -63,7 +63,7 @@ repos:
|
||||
- id: markdownlint
|
||||
name: Run markdownlint
|
||||
description: Checks the style of Markdown files
|
||||
entry: markdownlint -c .github/linters/.markdown-lint.yml .
|
||||
args: [--config=.github/linters/.markdown-lint.yml]
|
||||
types: [markdown]
|
||||
files: \.(md|mdown|markdown)$
|
||||
- repo: https://github.com/tcort/markdown-link-check
|
||||
@@ -81,6 +81,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: \.(yaml|yml)$
|
||||
|
||||
Reference in New Issue
Block a user