mirror of
https://github.com/juanfont/headscale.git
synced 2026-09-26 10:14:52 +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
|
||||
language: system
|
||||
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
|
||||
- id: mdformat
|
||||
|
||||
Reference in New Issue
Block a user