mirror of
https://github.com/juanfont/headscale.git
synced 2026-10-03 21:33:36 +09:00
.pre-commit-config: stop handing .toml files to prettier
prettier has no TOML parser, so `prek run --all-files` failed on .mdformat.toml with "No parser could be inferred". The Makefile's own prettier glob never included toml.
This commit is contained in:
@@ -45,7 +45,7 @@ repos:
|
|||||||
entry: prettier --write --list-different
|
entry: prettier --write --list-different
|
||||||
language: system
|
language: system
|
||||||
exclude: ^docs/
|
exclude: ^docs/
|
||||||
types_or: [javascript, jsx, ts, tsx, yaml, json, toml, html, css, scss, sass, markdown]
|
types_or: [javascript, jsx, ts, tsx, yaml, json, html, css, scss, sass, markdown]
|
||||||
|
|
||||||
# mdformat for docs
|
# mdformat for docs
|
||||||
- id: mdformat
|
- id: mdformat
|
||||||
|
|||||||
Reference in New Issue
Block a user