mirror of
https://github.com/juanfont/headscale.git
synced 2026-03-20 00:24:20 +01:00
Switch to mdformat to format docs
- Use mdformat and mdformat-mkdocs to format docs - Add mdformat to Makefile and pre-commit-config - Prettier ignores docs/
This commit is contained in:
committed by
nblock
parent
5c449db125
commit
47307d19cf
@@ -45,6 +45,14 @@ repos:
|
||||
exclude: ^docs/
|
||||
types_or: [javascript, jsx, ts, tsx, yaml, json, toml, html, css, scss, sass, markdown]
|
||||
|
||||
# mdformat for docs
|
||||
- id: mdformat
|
||||
name: mdformat
|
||||
entry: mdformat
|
||||
language: system
|
||||
types_or: [markdown]
|
||||
files: ^docs/
|
||||
|
||||
# golangci-lint for Go code quality
|
||||
- id: golangci-lint
|
||||
name: golangci-lint
|
||||
|
||||
Reference in New Issue
Block a user