mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-08-17 08:41:43 +08:00
Added pre-commit config with some basic checks.
This commit is contained in:
@@ -0,0 +1,19 @@
|
|||||||
|
repos:
|
||||||
|
|
||||||
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
|
rev: v6.0.0
|
||||||
|
hooks:
|
||||||
|
- id: check-added-large-files
|
||||||
|
- id: check-yaml
|
||||||
|
- id: end-of-file-fixer
|
||||||
|
- id: trailing-whitespace
|
||||||
|
|
||||||
|
- repo: https://github.com/igorshubovych/markdownlint-cli
|
||||||
|
rev: v0.49.0
|
||||||
|
hooks:
|
||||||
|
- id: markdownlint
|
||||||
|
|
||||||
|
- repo: https://github.com/tcort/markdown-link-check
|
||||||
|
rev: v3.14.2
|
||||||
|
hooks:
|
||||||
|
- id: markdown-link-check
|
||||||
Reference in New Issue
Block a user